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="src/treefuncs.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]
622 --program-prefix=PREFIX prepend PREFIX to installed program names
623 --program-suffix=SUFFIX append SUFFIX to installed program names
624 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
628 if test -n "$ac_init_help"; then
633 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
634 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
635 --enable-maintainer-mode enable make rules and dependencies not useful
636 (and sometimes confusing) to the casual installer
637 --disable-dependency-tracking Speeds up one-time builds
638 --enable-dependency-tracking Do not reject slow dependency extractors
640 Some influential environment variables:
641 CC C compiler command
642 CFLAGS C compiler flags
643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
644 nonstandard directory <lib dir>
645 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
646 headers in a nonstandard directory <include dir>
649 Use these variables to override the choices made by `configure' or to help
650 it to find libraries and programs with nonstandard names/locations.
655 if test "$ac_init_help" = "recursive"; then
656 # If there are subdirs, report their specific --help.
658 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
660 # A "../" for each directory in /$ac_subdir.
661 ac_dots=`echo $ac_subdir |
662 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
665 .) # No --srcdir option. We are building in place.
666 ac_sub_srcdir=$srcdir ;;
667 [\\/]* | ?:[\\/]* ) # Absolute path.
668 ac_sub_srcdir=$srcdir/$ac_subdir ;;
670 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
673 # Check for guested configure; otherwise get Cygnus style configure.
674 if test -f $ac_sub_srcdir/configure.gnu; then
676 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
677 elif test -f $ac_sub_srcdir/configure; then
679 $SHELL $ac_sub_srcdir/configure --help=recursive
680 elif test -f $ac_sub_srcdir/configure.ac ||
681 test -f $ac_sub_srcdir/configure.in; then
685 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
691 test -n "$ac_init_help" && exit 0
692 if $ac_init_version; then
695 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
696 Free Software Foundation, Inc.
697 This configure script is free software; the Free Software Foundation
698 gives unlimited permission to copy, distribute and modify it.
704 This file contains any messages produced by compilers while
705 running configure, to aid debugging if configure makes a mistake.
707 It was created by $as_me, which was
708 generated by GNU Autoconf 2.52. Invocation command line was
719 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
720 uname -m = `(uname -m) 2>/dev/null || echo unknown`
721 uname -r = `(uname -r) 2>/dev/null || echo unknown`
722 uname -s = `(uname -s) 2>/dev/null || echo unknown`
723 uname -v = `(uname -v) 2>/dev/null || echo unknown`
725 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
726 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
728 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
729 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
730 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
731 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
732 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
733 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
734 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
748 # Keep a trace of the command line.
749 # Strip out --no-create and --no-recursion so they do not pile up.
750 # Also quote any args containing shell meta-characters.
756 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
757 | --no-cr | --no-c) ;;
758 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
759 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
760 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
761 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
762 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
764 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
767 # Get rid of the leading space.
770 # When interrupted or exit'd, cleanup temporary files, and complete
771 # config.log. We remove comments because anyway the quotes in there
772 # would cause problems or look ugly.
774 # Save into config.log some information that might help in debugging.
776 echo "## ----------------- ##" >&5
777 echo "## Cache variables. ##" >&5
778 echo "## ----------------- ##" >&5
780 # The following way of writing the cache mishandles newlines in values,
783 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
786 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
791 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
795 sed "/^$/d" confdefs.h >conftest.log
796 if test -s conftest.log; then
798 echo "## ------------ ##" >&5
799 echo "## confdefs.h. ##" >&5
800 echo "## ------------ ##" >&5
805 test "$ac_signal" != 0 &&
806 echo "$as_me: caught signal $ac_signal" >&5
807 echo "$as_me: exit $exit_status" >&5
808 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
811 for ac_signal in 1 2 13 15; do
812 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
817 rm -rf conftest* confdefs.h
818 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
821 # Let the site file select an alternate cache file if it wants to.
822 # Prefer explicitly selected file to automatically selected ones.
823 if test -z "$CONFIG_SITE"; then
824 if test "x$prefix" != xNONE; then
825 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
827 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
830 for ac_site_file in $CONFIG_SITE; do
831 if test -r "$ac_site_file"; then
832 { echo "$as_me:832: loading site script $ac_site_file" >&5
833 echo "$as_me: loading site script $ac_site_file" >&6;}
834 cat "$ac_site_file" >&5
839 if test -r "$cache_file"; then
840 # Some versions of bash will fail to source /dev/null (special
841 # files actually), so we avoid doing that.
842 if test -f "$cache_file"; then
843 { echo "$as_me:843: loading cache $cache_file" >&5
844 echo "$as_me: loading cache $cache_file" >&6;}
846 [\\/]* | ?:[\\/]* ) . $cache_file;;
851 { echo "$as_me:851: creating cache $cache_file" >&5
852 echo "$as_me: creating cache $cache_file" >&6;}
856 # Check that the precious variables saved in the cache have kept the same
858 ac_cache_corrupted=false
859 for ac_var in `(set) 2>&1 |
860 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
861 eval ac_old_set=\$ac_cv_env_${ac_var}_set
862 eval ac_new_set=\$ac_env_${ac_var}_set
863 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
864 eval ac_new_val="\$ac_env_${ac_var}_value"
865 case $ac_old_set,$ac_new_set in
867 { echo "$as_me:867: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
868 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
869 ac_cache_corrupted=: ;;
871 { echo "$as_me:871: error: \`$ac_var' was not set in the previous run" >&5
872 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
873 ac_cache_corrupted=: ;;
876 if test "x$ac_old_val" != "x$ac_new_val"; then
877 { echo "$as_me:877: error: \`$ac_var' has changed since the previous run:" >&5
878 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
879 { echo "$as_me:879: former value: $ac_old_val" >&5
880 echo "$as_me: former value: $ac_old_val" >&2;}
881 { echo "$as_me:881: current value: $ac_new_val" >&5
882 echo "$as_me: current value: $ac_new_val" >&2;}
886 # Pass precious variables to config.status. It doesn't matter if
887 # we pass some twice (in addition to the command line arguments).
888 if test "$ac_new_set" = set; then
890 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
891 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
892 ac_configure_args="$ac_configure_args '$ac_arg'"
894 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
899 if $ac_cache_corrupted; then
900 { echo "$as_me:900: error: changes in the environment can compromise the build" >&5
901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
902 { { echo "$as_me:902: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
904 { (exit 1); exit 1; }; }
908 ac_cpp='$CPP $CPPFLAGS'
909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
913 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
914 *c*,-n*) ECHO_N= ECHO_C='
916 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
917 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
919 echo "#! $SHELL" >conftest.sh
920 echo "exit 0" >>conftest.sh
922 if { (echo "$as_me:922: PATH=\".;.\"; conftest.sh") >&5
923 (PATH=".;."; conftest.sh) 2>&5
925 echo "$as_me:925: \$? = $ac_status" >&5
926 (exit $ac_status); }; then
927 ac_path_separator=';'
931 PATH_SEPARATOR="$ac_path_separator"
934 # Add the stamp file to the list of files AC keeps track of,
935 # along with our hook.
936 ac_config_headers="$ac_config_headers config.h"
938 am__api_version="1.6"
940 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
941 if test -f $ac_dir/install-sh; then
943 ac_install_sh="$ac_aux_dir/install-sh -c"
945 elif test -f $ac_dir/install.sh; then
947 ac_install_sh="$ac_aux_dir/install.sh -c"
949 elif test -f $ac_dir/shtool; then
951 ac_install_sh="$ac_aux_dir/shtool install -c"
955 if test -z "$ac_aux_dir"; then
956 { { echo "$as_me:956: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
957 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
958 { (exit 1); exit 1; }; }
960 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
961 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
962 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
964 # Find a good install program. We prefer a C program (faster),
965 # so one script is as good as another. But avoid the broken or
966 # incompatible versions:
967 # SysV /etc/install, /usr/sbin/install
968 # SunOS /usr/etc/install
971 # AmigaOS /C/install, which installs bootblocks on floppy discs
972 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
973 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
974 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
975 # ./install, which can be erroneously created by make from ./install.sh.
976 echo "$as_me:976: checking for a BSD compatible install" >&5
977 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
978 if test -z "$INSTALL"; then
979 if test "${ac_cv_path_install+set}" = set; then
980 echo $ECHO_N "(cached) $ECHO_C" >&6
982 ac_save_IFS=$IFS; IFS=$ac_path_separator
983 for ac_dir in $PATH; do
985 # Account for people who put trailing slashes in PATH elements.
987 / | ./ | .// | /cC/* \
988 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
991 # OSF1 and SCO ODT 3.0 have their own names for install.
992 # Don't use installbsd from OSF since it installs stuff as root
994 for ac_prog in ginstall scoinst install; do
995 if $as_executable_p "$ac_dir/$ac_prog"; then
996 if test $ac_prog = install &&
997 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
998 # AIX install. It has an incompatible calling convention.
1000 elif test $ac_prog = install &&
1001 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1002 # program-specific install script used by HP pwplus--don't use.
1005 ac_cv_path_install="$ac_dir/$ac_prog -c"
1015 if test "${ac_cv_path_install+set}" = set; then
1016 INSTALL=$ac_cv_path_install
1018 # As a last resort, use the slow shell script. We don't cache a
1019 # path for INSTALL within a source directory, because that will
1020 # break other packages using the cache if that directory is
1021 # removed, or if the path is relative.
1022 INSTALL=$ac_install_sh
1025 echo "$as_me:1025: result: $INSTALL" >&5
1026 echo "${ECHO_T}$INSTALL" >&6
1028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1029 # It thinks the first close brace ends the variable substitution.
1030 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1032 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1034 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1036 echo "$as_me:1036: checking whether build environment is sane" >&5
1037 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1040 echo timestamp > conftest.file
1041 # Do `set' in a subshell so we don't clobber the current shell's
1042 # arguments. Must try -L first in case configure is actually a
1043 # symlink; some systems play weird games with the mod time of symlinks
1044 # (eg FreeBSD returns the mod time of the symlink's containing
1047 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1048 if test "$*" = "X"; then
1050 set X `ls -t $srcdir/configure conftest.file`
1053 if test "$*" != "X $srcdir/configure conftest.file" \
1054 && test "$*" != "X conftest.file $srcdir/configure"; then
1056 # If neither matched, then we have a broken ls. This can happen
1057 # if, for instance, CONFIG_SHELL is bash and it inherits a
1058 # broken ls alias from the environment. This has actually
1059 # happened. Such a system could not be considered "sane".
1060 { { echo "$as_me:1060: error: ls -t appears to fail. Make sure there is not a broken
1061 alias in your environment" >&5
1062 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1063 alias in your environment" >&2;}
1064 { (exit 1); exit 1; }; }
1067 test "$2" = conftest.file
1073 { { echo "$as_me:1073: error: newly created file is older than distributed files!
1074 Check your system clock" >&5
1075 echo "$as_me: error: newly created file is older than distributed files!
1076 Check your system clock" >&2;}
1077 { (exit 1); exit 1; }; }
1079 echo "$as_me:1079: result: yes" >&5
1080 echo "${ECHO_T}yes" >&6
1081 test "$program_prefix" != NONE &&
1082 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1083 # Use a double $ so make ignores it.
1084 test "$program_suffix" != NONE &&
1085 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1086 # Double any \ or $. echo might interpret backslashes.
1087 # By default was `s,x,x', remove it if useless.
1088 cat <<\_ACEOF >conftest.sed
1089 s/[\\$]/&&/g;s/;s,x,x,$//
1091 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1094 # expand $ac_aux_dir to an absolute path
1095 am_aux_dir=`cd $ac_aux_dir && pwd`
1097 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1098 # Use eval to expand $SHELL
1099 if eval "$MISSING --run true"; then
1100 am_missing_run="$MISSING --run "
1103 { echo "$as_me:1103: WARNING: \`missing' script is too old or missing" >&5
1104 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1107 for ac_prog in mawk gawk nawk awk
1109 # Extract the first word of "$ac_prog", so it can be a program name with args.
1110 set dummy $ac_prog; ac_word=$2
1111 echo "$as_me:1111: checking for $ac_word" >&5
1112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1113 if test "${ac_cv_prog_AWK+set}" = set; then
1114 echo $ECHO_N "(cached) $ECHO_C" >&6
1116 if test -n "$AWK"; then
1117 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1119 ac_save_IFS=$IFS; IFS=$ac_path_separator
1121 for ac_dir in $ac_dummy; do
1123 test -z "$ac_dir" && ac_dir=.
1124 $as_executable_p "$ac_dir/$ac_word" || continue
1125 ac_cv_prog_AWK="$ac_prog"
1126 echo "$as_me:1126: found $ac_dir/$ac_word" >&5
1133 if test -n "$AWK"; then
1134 echo "$as_me:1134: result: $AWK" >&5
1135 echo "${ECHO_T}$AWK" >&6
1137 echo "$as_me:1137: result: no" >&5
1138 echo "${ECHO_T}no" >&6
1141 test -n "$AWK" && break
1144 echo "$as_me:1144: checking whether ${MAKE-make} sets \${MAKE}" >&5
1145 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1146 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1147 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1148 echo $ECHO_N "(cached) $ECHO_C" >&6
1150 cat >conftest.make <<\EOF
1152 @echo 'ac_maketemp="${MAKE}"'
1154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1155 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1156 if test -n "$ac_maketemp"; then
1157 eval ac_cv_prog_make_${ac_make}_set=yes
1159 eval ac_cv_prog_make_${ac_make}_set=no
1163 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1164 echo "$as_me:1164: result: yes" >&5
1165 echo "${ECHO_T}yes" >&6
1168 echo "$as_me:1168: result: no" >&5
1169 echo "${ECHO_T}no" >&6
1170 SET_MAKE="MAKE=${MAKE-make}"
1173 # test to see if srcdir already configured
1174 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1175 test -f $srcdir/config.status; then
1176 { { echo "$as_me:1176: error: source directory already configured; run \"make distclean\" there first" >&5
1177 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1178 { (exit 1); exit 1; }; }
1181 # Define the identity of the package.
1185 cat >>confdefs.h <<EOF
1186 #define PACKAGE "$PACKAGE"
1189 cat >>confdefs.h <<EOF
1190 #define VERSION "$VERSION"
1193 # Some tools Automake needs.
1195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1197 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1199 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1201 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1203 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1205 AMTAR=${AMTAR-"${am_missing_run}tar"}
1207 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1209 # Installed binaries are usually stripped using `strip' when the user
1210 # run `make install-strip'. However `strip' might not be the right
1211 # tool to use in cross-compilation environments, therefore Automake
1212 # will honor the `STRIP' environment variable to overrule this program.
1213 if test "$cross_compiling" != no; then
1214 if test -n "$ac_tool_prefix"; then
1215 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1216 set dummy ${ac_tool_prefix}strip; ac_word=$2
1217 echo "$as_me:1217: checking for $ac_word" >&5
1218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1219 if test "${ac_cv_prog_STRIP+set}" = set; then
1220 echo $ECHO_N "(cached) $ECHO_C" >&6
1222 if test -n "$STRIP"; then
1223 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1225 ac_save_IFS=$IFS; IFS=$ac_path_separator
1227 for ac_dir in $ac_dummy; do
1229 test -z "$ac_dir" && ac_dir=.
1230 $as_executable_p "$ac_dir/$ac_word" || continue
1231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1232 echo "$as_me:1232: found $ac_dir/$ac_word" >&5
1238 STRIP=$ac_cv_prog_STRIP
1239 if test -n "$STRIP"; then
1240 echo "$as_me:1240: result: $STRIP" >&5
1241 echo "${ECHO_T}$STRIP" >&6
1243 echo "$as_me:1243: result: no" >&5
1244 echo "${ECHO_T}no" >&6
1248 if test -z "$ac_cv_prog_STRIP"; then
1250 # Extract the first word of "strip", so it can be a program name with args.
1251 set dummy strip; ac_word=$2
1252 echo "$as_me:1252: checking for $ac_word" >&5
1253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1255 echo $ECHO_N "(cached) $ECHO_C" >&6
1257 if test -n "$ac_ct_STRIP"; then
1258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1260 ac_save_IFS=$IFS; IFS=$ac_path_separator
1262 for ac_dir in $ac_dummy; do
1264 test -z "$ac_dir" && ac_dir=.
1265 $as_executable_p "$ac_dir/$ac_word" || continue
1266 ac_cv_prog_ac_ct_STRIP="strip"
1267 echo "$as_me:1267: found $ac_dir/$ac_word" >&5
1271 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1275 if test -n "$ac_ct_STRIP"; then
1276 echo "$as_me:1276: result: $ac_ct_STRIP" >&5
1277 echo "${ECHO_T}$ac_ct_STRIP" >&6
1279 echo "$as_me:1279: result: no" >&5
1280 echo "${ECHO_T}no" >&6
1285 STRIP="$ac_cv_prog_STRIP"
1289 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1291 # We need awk for the "check" target. The system "awk" is bad on
1294 echo "$as_me:1294: checking whether to enable maintainer-specific portions of Makefiles" >&5
1295 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1296 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1297 if test "${enable_maintainer_mode+set}" = set; then
1298 enableval="$enable_maintainer_mode"
1299 USE_MAINTAINER_MODE=$enableval
1301 USE_MAINTAINER_MODE=no
1303 echo "$as_me:1303: result: $USE_MAINTAINER_MODE" >&5
1304 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1306 if test $USE_MAINTAINER_MODE = yes; then
1307 MAINTAINER_MODE_TRUE=
1308 MAINTAINER_MODE_FALSE='#'
1310 MAINTAINER_MODE_TRUE='#'
1311 MAINTAINER_MODE_FALSE=
1314 MAINT=$MAINTAINER_MODE_TRUE
1318 if test -f ../NOINST_GOB ; then
1321 echo "$as_me:1321: result: *** NOT Going to install GOB ***" >&5
1322 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1323 SUBDIRS="src examples"
1328 SUBDIRS="src examples doc"
1332 rm -f .deps 2>/dev/null
1333 mkdir .deps 2>/dev/null
1334 if test -d .deps; then
1337 # MS-DOS does not allow filenames that begin with a dot.
1340 rmdir .deps 2>/dev/null
1342 ac_config_commands="$ac_config_commands depfiles"
1344 am_make=${MAKE-make}
1345 cat > confinc << 'END'
1349 # If we don't find an include directive, just comment out the code.
1350 echo "$as_me:1350: checking for style of include used by $am_make" >&5
1351 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1355 # First try GNU make style include.
1356 echo "include confinc" > confmf
1357 # We grep out `Entering directory' and `Leaving directory'
1358 # messages which can occur if `w' ends up in MAKEFLAGS.
1359 # In particular we don't look at `^make:' because GNU make might
1360 # be invoked under some other name (usually "gmake"), in which
1361 # case it prints its new name instead of `make'.
1362 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1367 # Now try BSD make style include.
1368 if test "$am__include" = "#"; then
1369 echo '.include "confinc"' > confmf
1370 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1371 am__include=.include
1377 echo "$as_me:1377: result: $_am_result" >&5
1378 echo "${ECHO_T}$_am_result" >&6
1379 rm -f confinc confmf
1381 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1382 if test "${enable_dependency_tracking+set}" = set; then
1383 enableval="$enable_dependency_tracking"
1386 if test "x$enable_dependency_tracking" != xno; then
1387 am_depcomp="$ac_aux_dir/depcomp"
1391 if test "x$enable_dependency_tracking" != xno; then
1400 ac_cpp='$CPP $CPPFLAGS'
1401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1404 if test -n "$ac_tool_prefix"; then
1405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1407 echo "$as_me:1407: checking for $ac_word" >&5
1408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1409 if test "${ac_cv_prog_CC+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 if test -n "$CC"; then
1413 ac_cv_prog_CC="$CC" # Let the user override the test.
1415 ac_save_IFS=$IFS; IFS=$ac_path_separator
1417 for ac_dir in $ac_dummy; do
1419 test -z "$ac_dir" && ac_dir=.
1420 $as_executable_p "$ac_dir/$ac_word" || continue
1421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1422 echo "$as_me:1422: found $ac_dir/$ac_word" >&5
1429 if test -n "$CC"; then
1430 echo "$as_me:1430: result: $CC" >&5
1431 echo "${ECHO_T}$CC" >&6
1433 echo "$as_me:1433: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1438 if test -z "$ac_cv_prog_CC"; then
1440 # Extract the first word of "gcc", so it can be a program name with args.
1441 set dummy gcc; ac_word=$2
1442 echo "$as_me:1442: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$ac_ct_CC"; then
1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1450 ac_save_IFS=$IFS; IFS=$ac_path_separator
1452 for ac_dir in $ac_dummy; do
1454 test -z "$ac_dir" && ac_dir=.
1455 $as_executable_p "$ac_dir/$ac_word" || continue
1456 ac_cv_prog_ac_ct_CC="gcc"
1457 echo "$as_me:1457: found $ac_dir/$ac_word" >&5
1463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1464 if test -n "$ac_ct_CC"; then
1465 echo "$as_me:1465: result: $ac_ct_CC" >&5
1466 echo "${ECHO_T}$ac_ct_CC" >&6
1468 echo "$as_me:1468: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1477 if test -z "$CC"; then
1478 if test -n "$ac_tool_prefix"; then
1479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1480 set dummy ${ac_tool_prefix}cc; ac_word=$2
1481 echo "$as_me:1481: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$CC"; then
1487 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 ac_save_IFS=$IFS; IFS=$ac_path_separator
1491 for ac_dir in $ac_dummy; do
1493 test -z "$ac_dir" && ac_dir=.
1494 $as_executable_p "$ac_dir/$ac_word" || continue
1495 ac_cv_prog_CC="${ac_tool_prefix}cc"
1496 echo "$as_me:1496: found $ac_dir/$ac_word" >&5
1503 if test -n "$CC"; then
1504 echo "$as_me:1504: result: $CC" >&5
1505 echo "${ECHO_T}$CC" >&6
1507 echo "$as_me:1507: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1512 if test -z "$ac_cv_prog_CC"; then
1514 # Extract the first word of "cc", so it can be a program name with args.
1515 set dummy cc; ac_word=$2
1516 echo "$as_me:1516: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$ac_ct_CC"; then
1522 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1524 ac_save_IFS=$IFS; IFS=$ac_path_separator
1526 for ac_dir in $ac_dummy; do
1528 test -z "$ac_dir" && ac_dir=.
1529 $as_executable_p "$ac_dir/$ac_word" || continue
1530 ac_cv_prog_ac_ct_CC="cc"
1531 echo "$as_me:1531: found $ac_dir/$ac_word" >&5
1537 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1538 if test -n "$ac_ct_CC"; then
1539 echo "$as_me:1539: result: $ac_ct_CC" >&5
1540 echo "${ECHO_T}$ac_ct_CC" >&6
1542 echo "$as_me:1542: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1552 if test -z "$CC"; then
1553 # Extract the first word of "cc", so it can be a program name with args.
1554 set dummy cc; ac_word=$2
1555 echo "$as_me:1555: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$CC"; then
1561 ac_cv_prog_CC="$CC" # Let the user override the test.
1564 ac_save_IFS=$IFS; IFS=$ac_path_separator
1566 for ac_dir in $ac_dummy; do
1568 test -z "$ac_dir" && ac_dir=.
1569 $as_executable_p "$ac_dir/$ac_word" || continue
1570 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1571 ac_prog_rejected=yes
1575 echo "$as_me:1575: found $ac_dir/$ac_word" >&5
1579 if test $ac_prog_rejected = yes; then
1580 # We found a bogon in the path, so make sure we never use it.
1581 set dummy $ac_cv_prog_CC
1583 if test $# != 0; then
1584 # We chose a different compiler from the bogus one.
1585 # However, it has the same basename, so the bogon will be chosen
1586 # first if we set CC to just the basename; use the full file name.
1588 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1596 if test -n "$CC"; then
1597 echo "$as_me:1597: result: $CC" >&5
1598 echo "${ECHO_T}$CC" >&6
1600 echo "$as_me:1600: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1605 if test -z "$CC"; then
1606 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1611 echo "$as_me:1611: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC="$CC" # Let the user override the test.
1619 ac_save_IFS=$IFS; IFS=$ac_path_separator
1621 for ac_dir in $ac_dummy; do
1623 test -z "$ac_dir" && ac_dir=.
1624 $as_executable_p "$ac_dir/$ac_word" || continue
1625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1626 echo "$as_me:1626: found $ac_dir/$ac_word" >&5
1633 if test -n "$CC"; then
1634 echo "$as_me:1634: result: $CC" >&5
1635 echo "${ECHO_T}$CC" >&6
1637 echo "$as_me:1637: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1641 test -n "$CC" && break
1644 if test -z "$CC"; then
1648 # Extract the first word of "$ac_prog", so it can be a program name with args.
1649 set dummy $ac_prog; ac_word=$2
1650 echo "$as_me:1650: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658 ac_save_IFS=$IFS; IFS=$ac_path_separator
1660 for ac_dir in $ac_dummy; do
1662 test -z "$ac_dir" && ac_dir=.
1663 $as_executable_p "$ac_dir/$ac_word" || continue
1664 ac_cv_prog_ac_ct_CC="$ac_prog"
1665 echo "$as_me:1665: found $ac_dir/$ac_word" >&5
1671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1672 if test -n "$ac_ct_CC"; then
1673 echo "$as_me:1673: result: $ac_ct_CC" >&5
1674 echo "${ECHO_T}$ac_ct_CC" >&6
1676 echo "$as_me:1676: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1680 test -n "$ac_ct_CC" && break
1688 test -z "$CC" && { { echo "$as_me:1688: error: no acceptable cc found in \$PATH" >&5
1689 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1690 { (exit 1); exit 1; }; }
1692 # Provide some information about the compiler.
1693 echo "$as_me:1693:" \
1694 "checking for C compiler version" >&5
1695 ac_compiler=`set X $ac_compile; echo $2`
1696 { (eval echo "$as_me:1696: \"$ac_compiler --version </dev/null >&5\"") >&5
1697 (eval $ac_compiler --version </dev/null >&5) 2>&5
1699 echo "$as_me:1699: \$? = $ac_status" >&5
1700 (exit $ac_status); }
1701 { (eval echo "$as_me:1701: \"$ac_compiler -v </dev/null >&5\"") >&5
1702 (eval $ac_compiler -v </dev/null >&5) 2>&5
1704 echo "$as_me:1704: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1706 { (eval echo "$as_me:1706: \"$ac_compiler -V </dev/null >&5\"") >&5
1707 (eval $ac_compiler -V </dev/null >&5) 2>&5
1709 echo "$as_me:1709: \$? = $ac_status" >&5
1710 (exit $ac_status); }
1712 cat >conftest.$ac_ext <<_ACEOF
1713 #line 1713 "configure"
1714 #include "confdefs.h"
1724 ac_clean_files_save=$ac_clean_files
1725 ac_clean_files="$ac_clean_files a.out a.exe"
1726 # Try to create an executable without -o first, disregard a.out.
1727 # It will help us diagnose broken compilers, and finding out an intuition
1729 echo "$as_me:1729: checking for C compiler default output" >&5
1730 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1731 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1732 if { (eval echo "$as_me:1732: \"$ac_link_default\"") >&5
1733 (eval $ac_link_default) 2>&5
1735 echo "$as_me:1735: \$? = $ac_status" >&5
1736 (exit $ac_status); }; then
1737 # Find the output, starting from the most likely. This scheme is
1738 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1740 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1741 ls a.out conftest 2>/dev/null;
1742 ls a.* conftest.* 2>/dev/null`; do
1744 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1745 a.out ) # We found the default executable, but exeext='' is most
1748 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1749 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1756 echo "$as_me: failed program was:" >&5
1757 cat conftest.$ac_ext >&5
1758 { { echo "$as_me:1758: error: C compiler cannot create executables" >&5
1759 echo "$as_me: error: C compiler cannot create executables" >&2;}
1760 { (exit 77); exit 77; }; }
1763 ac_exeext=$ac_cv_exeext
1764 echo "$as_me:1764: result: $ac_file" >&5
1765 echo "${ECHO_T}$ac_file" >&6
1767 # Check the compiler produces executables we can run. If not, either
1768 # the compiler is broken, or we cross compile.
1769 echo "$as_me:1769: checking whether the C compiler works" >&5
1770 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1771 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1772 # If not cross compiling, check that we can run a simple program.
1773 if test "$cross_compiling" != yes; then
1774 if { ac_try='./$ac_file'
1775 { (eval echo "$as_me:1775: \"$ac_try\"") >&5
1778 echo "$as_me:1778: \$? = $ac_status" >&5
1779 (exit $ac_status); }; }; then
1782 if test "$cross_compiling" = maybe; then
1785 { { echo "$as_me:1785: error: cannot run C compiled programs.
1786 If you meant to cross compile, use \`--host'." >&5
1787 echo "$as_me: error: cannot run C compiled programs.
1788 If you meant to cross compile, use \`--host'." >&2;}
1789 { (exit 1); exit 1; }; }
1793 echo "$as_me:1793: result: yes" >&5
1794 echo "${ECHO_T}yes" >&6
1796 rm -f a.out a.exe conftest$ac_cv_exeext
1797 ac_clean_files=$ac_clean_files_save
1798 # Check the compiler produces executables we can run. If not, either
1799 # the compiler is broken, or we cross compile.
1800 echo "$as_me:1800: checking whether we are cross compiling" >&5
1801 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1802 echo "$as_me:1802: result: $cross_compiling" >&5
1803 echo "${ECHO_T}$cross_compiling" >&6
1805 echo "$as_me:1805: checking for executable suffix" >&5
1806 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1807 if { (eval echo "$as_me:1807: \"$ac_link\"") >&5
1808 (eval $ac_link) 2>&5
1810 echo "$as_me:1810: \$? = $ac_status" >&5
1811 (exit $ac_status); }; then
1812 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1813 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1814 # work properly (i.e., refer to `conftest.exe'), while it won't with
1816 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1818 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1819 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1826 { { echo "$as_me:1826: error: cannot compute EXEEXT: cannot compile and link" >&5
1827 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1828 { (exit 1); exit 1; }; }
1831 rm -f conftest$ac_cv_exeext
1832 echo "$as_me:1832: result: $ac_cv_exeext" >&5
1833 echo "${ECHO_T}$ac_cv_exeext" >&6
1835 rm -f conftest.$ac_ext
1836 EXEEXT=$ac_cv_exeext
1838 echo "$as_me:1838: checking for object suffix" >&5
1839 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1840 if test "${ac_cv_objext+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 cat >conftest.$ac_ext <<_ACEOF
1844 #line 1844 "configure"
1845 #include "confdefs.h"
1855 rm -f conftest.o conftest.obj
1856 if { (eval echo "$as_me:1856: \"$ac_compile\"") >&5
1857 (eval $ac_compile) 2>&5
1859 echo "$as_me:1859: \$? = $ac_status" >&5
1860 (exit $ac_status); }; then
1861 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1864 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1869 echo "$as_me: failed program was:" >&5
1870 cat conftest.$ac_ext >&5
1871 { { echo "$as_me:1871: error: cannot compute OBJEXT: cannot compile" >&5
1872 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1873 { (exit 1); exit 1; }; }
1876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1878 echo "$as_me:1878: result: $ac_cv_objext" >&5
1879 echo "${ECHO_T}$ac_cv_objext" >&6
1880 OBJEXT=$ac_cv_objext
1882 echo "$as_me:1882: checking whether we are using the GNU C compiler" >&5
1883 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1884 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 cat >conftest.$ac_ext <<_ACEOF
1888 #line 1888 "configure"
1889 #include "confdefs.h"
1902 rm -f conftest.$ac_objext
1903 if { (eval echo "$as_me:1903: \"$ac_compile\"") >&5
1904 (eval $ac_compile) 2>&5
1906 echo "$as_me:1906: \$? = $ac_status" >&5
1907 (exit $ac_status); } &&
1908 { ac_try='test -s conftest.$ac_objext'
1909 { (eval echo "$as_me:1909: \"$ac_try\"") >&5
1912 echo "$as_me:1912: \$? = $ac_status" >&5
1913 (exit $ac_status); }; }; then
1916 echo "$as_me: failed program was:" >&5
1917 cat conftest.$ac_ext >&5
1920 rm -f conftest.$ac_objext conftest.$ac_ext
1921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1924 echo "$as_me:1924: result: $ac_cv_c_compiler_gnu" >&5
1925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1926 GCC=`test $ac_compiler_gnu = yes && echo yes`
1927 ac_test_CFLAGS=${CFLAGS+set}
1928 ac_save_CFLAGS=$CFLAGS
1930 echo "$as_me:1930: checking whether $CC accepts -g" >&5
1931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1932 if test "${ac_cv_prog_cc_g+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 cat >conftest.$ac_ext <<_ACEOF
1936 #line 1936 "configure"
1937 #include "confdefs.h"
1947 rm -f conftest.$ac_objext
1948 if { (eval echo "$as_me:1948: \"$ac_compile\"") >&5
1949 (eval $ac_compile) 2>&5
1951 echo "$as_me:1951: \$? = $ac_status" >&5
1952 (exit $ac_status); } &&
1953 { ac_try='test -s conftest.$ac_objext'
1954 { (eval echo "$as_me:1954: \"$ac_try\"") >&5
1957 echo "$as_me:1957: \$? = $ac_status" >&5
1958 (exit $ac_status); }; }; then
1961 echo "$as_me: failed program was:" >&5
1962 cat conftest.$ac_ext >&5
1965 rm -f conftest.$ac_objext conftest.$ac_ext
1967 echo "$as_me:1967: result: $ac_cv_prog_cc_g" >&5
1968 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1969 if test "$ac_test_CFLAGS" = set; then
1970 CFLAGS=$ac_save_CFLAGS
1971 elif test $ac_cv_prog_cc_g = yes; then
1972 if test "$GCC" = yes; then
1978 if test "$GCC" = yes; then
1984 # Some people use a C++ compiler to compile C. Since we use `exit',
1985 # in C++ we need to declare it. In case someone uses the same compiler
1986 # for both compiling C and C++ we need to have the C++ compiler decide
1987 # the declaration of exit, since it's the most demanding environment.
1988 cat >conftest.$ac_ext <<_ACEOF
1993 rm -f conftest.$ac_objext
1994 if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5
1995 (eval $ac_compile) 2>&5
1997 echo "$as_me:1997: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try='test -s conftest.$ac_objext'
2000 { (eval echo "$as_me:2000: \"$ac_try\"") >&5
2003 echo "$as_me:2003: \$? = $ac_status" >&5
2004 (exit $ac_status); }; }; then
2005 for ac_declaration in \
2007 '#include <stdlib.h>' \
2008 'extern "C" void std::exit (int) throw (); using std::exit;' \
2009 'extern "C" void std::exit (int); using std::exit;' \
2010 'extern "C" void exit (int) throw ();' \
2011 'extern "C" void exit (int);' \
2014 cat >conftest.$ac_ext <<_ACEOF
2015 #line 2015 "configure"
2016 #include "confdefs.h"
2027 rm -f conftest.$ac_objext
2028 if { (eval echo "$as_me:2028: \"$ac_compile\"") >&5
2029 (eval $ac_compile) 2>&5
2031 echo "$as_me:2031: \$? = $ac_status" >&5
2032 (exit $ac_status); } &&
2033 { ac_try='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:2034: \"$ac_try\"") >&5
2037 echo "$as_me:2037: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 cat conftest.$ac_ext >&5
2045 rm -f conftest.$ac_objext conftest.$ac_ext
2046 cat >conftest.$ac_ext <<_ACEOF
2047 #line 2047 "configure"
2048 #include "confdefs.h"
2058 rm -f conftest.$ac_objext
2059 if { (eval echo "$as_me:2059: \"$ac_compile\"") >&5
2060 (eval $ac_compile) 2>&5
2062 echo "$as_me:2062: \$? = $ac_status" >&5
2063 (exit $ac_status); } &&
2064 { ac_try='test -s conftest.$ac_objext'
2065 { (eval echo "$as_me:2065: \"$ac_try\"") >&5
2068 echo "$as_me:2068: \$? = $ac_status" >&5
2069 (exit $ac_status); }; }; then
2072 echo "$as_me: failed program was:" >&5
2073 cat conftest.$ac_ext >&5
2075 rm -f conftest.$ac_objext conftest.$ac_ext
2078 if test -n "$ac_declaration"; then
2079 echo '#ifdef __cplusplus' >>confdefs.h
2080 echo $ac_declaration >>confdefs.h
2081 echo '#endif' >>confdefs.h
2085 echo "$as_me: failed program was:" >&5
2086 cat conftest.$ac_ext >&5
2088 rm -f conftest.$ac_objext conftest.$ac_ext
2090 ac_cpp='$CPP $CPPFLAGS'
2091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2095 depcc="$CC" am_compiler_list=
2097 echo "$as_me:2097: checking dependency style of $depcc" >&5
2098 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2099 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2103 # We make a subdir and do the tests there. Otherwise we can end up
2104 # making bogus files that we don't know about and never remove. For
2105 # instance it was reported that on HP-UX the gcc test will end up
2106 # making a dummy file named `D' -- because `-MD' means `put the output
2109 # Copy depcomp to subdir because otherwise we won't find it if we're
2110 # using a relative directory.
2111 cp "$am_depcomp" conftest.dir
2114 am_cv_CC_dependencies_compiler_type=none
2115 if test "$am_compiler_list" = ""; then
2116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2118 for depmode in $am_compiler_list; do
2119 # We need to recreate these files for each test, as the compiler may
2120 # overwrite some of them when testing with obscure command lines.
2121 # This happens at least with the AIX C compiler.
2122 echo '#include "conftest.h"' > conftest.c
2123 echo 'int i;' > conftest.h
2124 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2128 # after this tag, mechanisms are not by side-effect, so they'll
2129 # only be used when explicitly requested
2130 if test "x$enable_dependency_tracking" = xyes; then
2138 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2139 # mode. It turns out that the SunPro C++ compiler does not properly
2140 # handle `-M -o', and we need to detect this.
2141 if depmode=$depmode \
2142 source=conftest.c object=conftest.o \
2143 depfile=conftest.Po tmpdepfile=conftest.TPo \
2144 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2145 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2146 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2147 am_cv_CC_dependencies_compiler_type=$depmode
2155 am_cv_CC_dependencies_compiler_type=none
2159 echo "$as_me:2159: result: $am_cv_CC_dependencies_compiler_type" >&5
2160 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2161 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2163 echo "$as_me:2163: checking for strerror in -lcposix" >&5
2164 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2165 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 ac_check_lib_save_LIBS=$LIBS
2169 LIBS="-lcposix $LIBS"
2170 cat >conftest.$ac_ext <<_ACEOF
2171 #line 2171 "configure"
2172 #include "confdefs.h"
2174 /* Override any gcc2 internal prototype to avoid an error. */
2178 /* We use char because int might match the return type of a gcc2
2179 builtin and then its argument prototype would still apply. */
2189 rm -f conftest.$ac_objext conftest$ac_exeext
2190 if { (eval echo "$as_me:2190: \"$ac_link\"") >&5
2191 (eval $ac_link) 2>&5
2193 echo "$as_me:2193: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try='test -s conftest$ac_exeext'
2196 { (eval echo "$as_me:2196: \"$ac_try\"") >&5
2199 echo "$as_me:2199: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2201 ac_cv_lib_cposix_strerror=yes
2203 echo "$as_me: failed program was:" >&5
2204 cat conftest.$ac_ext >&5
2205 ac_cv_lib_cposix_strerror=no
2207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2208 LIBS=$ac_check_lib_save_LIBS
2210 echo "$as_me:2210: result: $ac_cv_lib_cposix_strerror" >&5
2211 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2212 if test $ac_cv_lib_cposix_strerror = yes; then
2213 LIBS="$LIBS -lcposix"
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221 if test -n "$ac_tool_prefix"; then
2222 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2224 echo "$as_me:2224: checking for $ac_word" >&5
2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226 if test "${ac_cv_prog_CC+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 if test -n "$CC"; then
2230 ac_cv_prog_CC="$CC" # Let the user override the test.
2232 ac_save_IFS=$IFS; IFS=$ac_path_separator
2234 for ac_dir in $ac_dummy; do
2236 test -z "$ac_dir" && ac_dir=.
2237 $as_executable_p "$ac_dir/$ac_word" || continue
2238 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2239 echo "$as_me:2239: found $ac_dir/$ac_word" >&5
2246 if test -n "$CC"; then
2247 echo "$as_me:2247: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2250 echo "$as_me:2250: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2255 if test -z "$ac_cv_prog_CC"; then
2257 # Extract the first word of "gcc", so it can be a program name with args.
2258 set dummy gcc; ac_word=$2
2259 echo "$as_me:2259: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 ac_save_IFS=$IFS; IFS=$ac_path_separator
2269 for ac_dir in $ac_dummy; do
2271 test -z "$ac_dir" && ac_dir=.
2272 $as_executable_p "$ac_dir/$ac_word" || continue
2273 ac_cv_prog_ac_ct_CC="gcc"
2274 echo "$as_me:2274: found $ac_dir/$ac_word" >&5
2280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2281 if test -n "$ac_ct_CC"; then
2282 echo "$as_me:2282: result: $ac_ct_CC" >&5
2283 echo "${ECHO_T}$ac_ct_CC" >&6
2285 echo "$as_me:2285: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2294 if test -z "$CC"; then
2295 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2297 set dummy ${ac_tool_prefix}cc; ac_word=$2
2298 echo "$as_me:2298: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$CC"; then
2304 ac_cv_prog_CC="$CC" # Let the user override the test.
2306 ac_save_IFS=$IFS; IFS=$ac_path_separator
2308 for ac_dir in $ac_dummy; do
2310 test -z "$ac_dir" && ac_dir=.
2311 $as_executable_p "$ac_dir/$ac_word" || continue
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:2313: found $ac_dir/$ac_word" >&5
2320 if test -n "$CC"; then
2321 echo "$as_me:2321: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2324 echo "$as_me:2324: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2329 if test -z "$ac_cv_prog_CC"; then
2331 # Extract the first word of "cc", so it can be a program name with args.
2332 set dummy cc; ac_word=$2
2333 echo "$as_me:2333: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 ac_save_IFS=$IFS; IFS=$ac_path_separator
2343 for ac_dir in $ac_dummy; do
2345 test -z "$ac_dir" && ac_dir=.
2346 $as_executable_p "$ac_dir/$ac_word" || continue
2347 ac_cv_prog_ac_ct_CC="cc"
2348 echo "$as_me:2348: found $ac_dir/$ac_word" >&5
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 echo "$as_me:2356: result: $ac_ct_CC" >&5
2357 echo "${ECHO_T}$ac_ct_CC" >&6
2359 echo "$as_me:2359: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2369 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc; ac_word=$2
2372 echo "$as_me:2372: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2381 ac_save_IFS=$IFS; IFS=$ac_path_separator
2383 for ac_dir in $ac_dummy; do
2385 test -z "$ac_dir" && ac_dir=.
2386 $as_executable_p "$ac_dir/$ac_word" || continue
2387 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2388 ac_prog_rejected=yes
2392 echo "$as_me:2392: found $ac_dir/$ac_word" >&5
2396 if test $ac_prog_rejected = yes; then
2397 # We found a bogon in the path, so make sure we never use it.
2398 set dummy $ac_cv_prog_CC
2400 if test $# != 0; then
2401 # We chose a different compiler from the bogus one.
2402 # However, it has the same basename, so the bogon will be chosen
2403 # first if we set CC to just the basename; use the full file name.
2405 set dummy "$ac_dir/$ac_word" ${1+"$@"}
2413 if test -n "$CC"; then
2414 echo "$as_me:2414: result: $CC" >&5
2415 echo "${ECHO_T}$CC" >&6
2417 echo "$as_me:2417: result: no" >&5
2418 echo "${ECHO_T}no" >&6
2422 if test -z "$CC"; then
2423 if test -n "$ac_tool_prefix"; then
2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2428 echo "$as_me:2428: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 ac_save_IFS=$IFS; IFS=$ac_path_separator
2438 for ac_dir in $ac_dummy; do
2440 test -z "$ac_dir" && ac_dir=.
2441 $as_executable_p "$ac_dir/$ac_word" || continue
2442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2443 echo "$as_me:2443: found $ac_dir/$ac_word" >&5
2450 if test -n "$CC"; then
2451 echo "$as_me:2451: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6
2454 echo "$as_me:2454: result: no" >&5
2455 echo "${ECHO_T}no" >&6
2458 test -n "$CC" && break
2461 if test -z "$CC"; then
2465 # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy $ac_prog; ac_word=$2
2467 echo "$as_me:2467: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$ac_ct_CC"; then
2473 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2475 ac_save_IFS=$IFS; IFS=$ac_path_separator
2477 for ac_dir in $ac_dummy; do
2479 test -z "$ac_dir" && ac_dir=.
2480 $as_executable_p "$ac_dir/$ac_word" || continue
2481 ac_cv_prog_ac_ct_CC="$ac_prog"
2482 echo "$as_me:2482: found $ac_dir/$ac_word" >&5
2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then
2490 echo "$as_me:2490: result: $ac_ct_CC" >&5
2491 echo "${ECHO_T}$ac_ct_CC" >&6
2493 echo "$as_me:2493: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2497 test -n "$ac_ct_CC" && break
2505 test -z "$CC" && { { echo "$as_me:2505: error: no acceptable cc found in \$PATH" >&5
2506 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2507 { (exit 1); exit 1; }; }
2509 # Provide some information about the compiler.
2510 echo "$as_me:2510:" \
2511 "checking for C compiler version" >&5
2512 ac_compiler=`set X $ac_compile; echo $2`
2513 { (eval echo "$as_me:2513: \"$ac_compiler --version </dev/null >&5\"") >&5
2514 (eval $ac_compiler --version </dev/null >&5) 2>&5
2516 echo "$as_me:2516: \$? = $ac_status" >&5
2517 (exit $ac_status); }
2518 { (eval echo "$as_me:2518: \"$ac_compiler -v </dev/null >&5\"") >&5
2519 (eval $ac_compiler -v </dev/null >&5) 2>&5
2521 echo "$as_me:2521: \$? = $ac_status" >&5
2522 (exit $ac_status); }
2523 { (eval echo "$as_me:2523: \"$ac_compiler -V </dev/null >&5\"") >&5
2524 (eval $ac_compiler -V </dev/null >&5) 2>&5
2526 echo "$as_me:2526: \$? = $ac_status" >&5
2527 (exit $ac_status); }
2529 echo "$as_me:2529: checking whether we are using the GNU C compiler" >&5
2530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 cat >conftest.$ac_ext <<_ACEOF
2535 #line 2535 "configure"
2536 #include "confdefs.h"
2549 rm -f conftest.$ac_objext
2550 if { (eval echo "$as_me:2550: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>&5
2553 echo "$as_me:2553: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try='test -s conftest.$ac_objext'
2556 { (eval echo "$as_me:2556: \"$ac_try\"") >&5
2559 echo "$as_me:2559: \$? = $ac_status" >&5
2560 (exit $ac_status); }; }; then
2563 echo "$as_me: failed program was:" >&5
2564 cat conftest.$ac_ext >&5
2567 rm -f conftest.$ac_objext conftest.$ac_ext
2568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2571 echo "$as_me:2571: result: $ac_cv_c_compiler_gnu" >&5
2572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2573 GCC=`test $ac_compiler_gnu = yes && echo yes`
2574 ac_test_CFLAGS=${CFLAGS+set}
2575 ac_save_CFLAGS=$CFLAGS
2577 echo "$as_me:2577: checking whether $CC accepts -g" >&5
2578 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2579 if test "${ac_cv_prog_cc_g+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 cat >conftest.$ac_ext <<_ACEOF
2583 #line 2583 "configure"
2584 #include "confdefs.h"
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:2595: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>&5
2598 echo "$as_me:2598: \$? = $ac_status" >&5
2599 (exit $ac_status); } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:2601: \"$ac_try\"") >&5
2604 echo "$as_me:2604: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2608 echo "$as_me: failed program was:" >&5
2609 cat conftest.$ac_ext >&5
2612 rm -f conftest.$ac_objext conftest.$ac_ext
2614 echo "$as_me:2614: result: $ac_cv_prog_cc_g" >&5
2615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2616 if test "$ac_test_CFLAGS" = set; then
2617 CFLAGS=$ac_save_CFLAGS
2618 elif test $ac_cv_prog_cc_g = yes; then
2619 if test "$GCC" = yes; then
2625 if test "$GCC" = yes; then
2631 # Some people use a C++ compiler to compile C. Since we use `exit',
2632 # in C++ we need to declare it. In case someone uses the same compiler
2633 # for both compiling C and C++ we need to have the C++ compiler decide
2634 # the declaration of exit, since it's the most demanding environment.
2635 cat >conftest.$ac_ext <<_ACEOF
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:2641: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>&5
2644 echo "$as_me:2644: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:2647: \"$ac_try\"") >&5
2650 echo "$as_me:2650: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 for ac_declaration in \
2654 '#include <stdlib.h>' \
2655 'extern "C" void std::exit (int) throw (); using std::exit;' \
2656 'extern "C" void std::exit (int); using std::exit;' \
2657 'extern "C" void exit (int) throw ();' \
2658 'extern "C" void exit (int);' \
2661 cat >conftest.$ac_ext <<_ACEOF
2662 #line 2662 "configure"
2663 #include "confdefs.h"
2674 rm -f conftest.$ac_objext
2675 if { (eval echo "$as_me:2675: \"$ac_compile\"") >&5
2676 (eval $ac_compile) 2>&5
2678 echo "$as_me:2678: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:2681: \"$ac_try\"") >&5
2684 echo "$as_me:2684: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 echo "$as_me: failed program was:" >&5
2689 cat conftest.$ac_ext >&5
2692 rm -f conftest.$ac_objext conftest.$ac_ext
2693 cat >conftest.$ac_ext <<_ACEOF
2694 #line 2694 "configure"
2695 #include "confdefs.h"
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:2706: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>&5
2709 echo "$as_me:2709: \$? = $ac_status" >&5
2710 (exit $ac_status); } &&
2711 { ac_try='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:2712: \"$ac_try\"") >&5
2715 echo "$as_me:2715: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2719 echo "$as_me: failed program was:" >&5
2720 cat conftest.$ac_ext >&5
2722 rm -f conftest.$ac_objext conftest.$ac_ext
2725 if test -n "$ac_declaration"; then
2726 echo '#ifdef __cplusplus' >>confdefs.h
2727 echo $ac_declaration >>confdefs.h
2728 echo '#endif' >>confdefs.h
2732 echo "$as_me: failed program was:" >&5
2733 cat conftest.$ac_ext >&5
2735 rm -f conftest.$ac_objext conftest.$ac_ext
2737 ac_cpp='$CPP $CPPFLAGS'
2738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2742 depcc="$CC" am_compiler_list=
2744 echo "$as_me:2744: checking dependency style of $depcc" >&5
2745 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2746 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2750 # We make a subdir and do the tests there. Otherwise we can end up
2751 # making bogus files that we don't know about and never remove. For
2752 # instance it was reported that on HP-UX the gcc test will end up
2753 # making a dummy file named `D' -- because `-MD' means `put the output
2756 # Copy depcomp to subdir because otherwise we won't find it if we're
2757 # using a relative directory.
2758 cp "$am_depcomp" conftest.dir
2761 am_cv_CC_dependencies_compiler_type=none
2762 if test "$am_compiler_list" = ""; then
2763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2765 for depmode in $am_compiler_list; do
2766 # We need to recreate these files for each test, as the compiler may
2767 # overwrite some of them when testing with obscure command lines.
2768 # This happens at least with the AIX C compiler.
2769 echo '#include "conftest.h"' > conftest.c
2770 echo 'int i;' > conftest.h
2771 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2775 # after this tag, mechanisms are not by side-effect, so they'll
2776 # only be used when explicitly requested
2777 if test "x$enable_dependency_tracking" = xyes; then
2785 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2786 # mode. It turns out that the SunPro C++ compiler does not properly
2787 # handle `-M -o', and we need to detect this.
2788 if depmode=$depmode \
2789 source=conftest.c object=conftest.o \
2790 depfile=conftest.Po tmpdepfile=conftest.TPo \
2791 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2792 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2794 am_cv_CC_dependencies_compiler_type=$depmode
2802 am_cv_CC_dependencies_compiler_type=none
2806 echo "$as_me:2806: result: $am_cv_CC_dependencies_compiler_type" >&5
2807 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2808 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 echo "$as_me:2815: checking how to run the C preprocessor" >&5
2816 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2817 # On Suns, sometimes $CPP names a directory.
2818 if test -n "$CPP" && test -d "$CPP"; then
2821 if test -z "$CPP"; then
2822 if test "${ac_cv_prog_CPP+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 # Double quotes because CPP needs to be expanded
2826 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2829 for ac_c_preproc_warn_flag in '' yes
2831 # Use a header file that comes with gcc, so configuring glibc
2832 # with a fresh cross-compiler works.
2833 # On the NeXT, cc -E runs the code through the compiler's parser,
2834 # not just through cpp. "Syntax error" is here to catch this case.
2835 cat >conftest.$ac_ext <<_ACEOF
2836 #line 2836 "configure"
2837 #include "confdefs.h"
2841 if { (eval echo "$as_me:2841: \"$ac_cpp conftest.$ac_ext\"") >&5
2842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2844 egrep -v '^ *\+' conftest.er1 >conftest.err
2846 cat conftest.err >&5
2847 echo "$as_me:2847: \$? = $ac_status" >&5
2848 (exit $ac_status); } >/dev/null; then
2849 if test -s conftest.err; then
2850 ac_cpp_err=$ac_c_preproc_warn_flag
2857 if test -z "$ac_cpp_err"; then
2860 echo "$as_me: failed program was:" >&5
2861 cat conftest.$ac_ext >&5
2862 # Broken: fails on valid input.
2865 rm -f conftest.err conftest.$ac_ext
2867 # OK, works on sane cases. Now check whether non-existent headers
2868 # can be detected and how.
2869 cat >conftest.$ac_ext <<_ACEOF
2870 #line 2870 "configure"
2871 #include "confdefs.h"
2872 #include <ac_nonexistent.h>
2874 if { (eval echo "$as_me:2874: \"$ac_cpp conftest.$ac_ext\"") >&5
2875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2877 egrep -v '^ *\+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 echo "$as_me:2880: \$? = $ac_status" >&5
2881 (exit $ac_status); } >/dev/null; then
2882 if test -s conftest.err; then
2883 ac_cpp_err=$ac_c_preproc_warn_flag
2890 if test -z "$ac_cpp_err"; then
2891 # Broken: success on invalid input.
2894 echo "$as_me: failed program was:" >&5
2895 cat conftest.$ac_ext >&5
2896 # Passes both tests.
2900 rm -f conftest.err conftest.$ac_ext
2903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2904 rm -f conftest.err conftest.$ac_ext
2905 if $ac_preproc_ok; then
2917 echo "$as_me:2917: result: $CPP" >&5
2918 echo "${ECHO_T}$CPP" >&6
2920 for ac_c_preproc_warn_flag in '' yes
2922 # Use a header file that comes with gcc, so configuring glibc
2923 # with a fresh cross-compiler works.
2924 # On the NeXT, cc -E runs the code through the compiler's parser,
2925 # not just through cpp. "Syntax error" is here to catch this case.
2926 cat >conftest.$ac_ext <<_ACEOF
2927 #line 2927 "configure"
2928 #include "confdefs.h"
2932 if { (eval echo "$as_me:2932: \"$ac_cpp conftest.$ac_ext\"") >&5
2933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2935 egrep -v '^ *\+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:2938: \$? = $ac_status" >&5
2939 (exit $ac_status); } >/dev/null; then
2940 if test -s conftest.err; then
2941 ac_cpp_err=$ac_c_preproc_warn_flag
2948 if test -z "$ac_cpp_err"; then
2951 echo "$as_me: failed program was:" >&5
2952 cat conftest.$ac_ext >&5
2953 # Broken: fails on valid input.
2956 rm -f conftest.err conftest.$ac_ext
2958 # OK, works on sane cases. Now check whether non-existent headers
2959 # can be detected and how.
2960 cat >conftest.$ac_ext <<_ACEOF
2961 #line 2961 "configure"
2962 #include "confdefs.h"
2963 #include <ac_nonexistent.h>
2965 if { (eval echo "$as_me:2965: \"$ac_cpp conftest.$ac_ext\"") >&5
2966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2968 egrep -v '^ *\+' conftest.er1 >conftest.err
2970 cat conftest.err >&5
2971 echo "$as_me:2971: \$? = $ac_status" >&5
2972 (exit $ac_status); } >/dev/null; then
2973 if test -s conftest.err; then
2974 ac_cpp_err=$ac_c_preproc_warn_flag
2981 if test -z "$ac_cpp_err"; then
2982 # Broken: success on invalid input.
2985 echo "$as_me: failed program was:" >&5
2986 cat conftest.$ac_ext >&5
2987 # Passes both tests.
2991 rm -f conftest.err conftest.$ac_ext
2994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2995 rm -f conftest.err conftest.$ac_ext
2996 if $ac_preproc_ok; then
2999 { { echo "$as_me:2999: error: C preprocessor \"$CPP\" fails sanity check" >&5
3000 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3001 { (exit 1); exit 1; }; }
3005 ac_cpp='$CPP $CPPFLAGS'
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3010 echo "$as_me:3010: checking for ANSI C header files" >&5
3011 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3012 if test "${ac_cv_header_stdc+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 cat >conftest.$ac_ext <<_ACEOF
3016 #line 3016 "configure"
3017 #include "confdefs.h"
3024 if { (eval echo "$as_me:3024: \"$ac_cpp conftest.$ac_ext\"") >&5
3025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3027 egrep -v '^ *\+' conftest.er1 >conftest.err
3029 cat conftest.err >&5
3030 echo "$as_me:3030: \$? = $ac_status" >&5
3031 (exit $ac_status); } >/dev/null; then
3032 if test -s conftest.err; then
3033 ac_cpp_err=$ac_c_preproc_warn_flag
3040 if test -z "$ac_cpp_err"; then
3041 ac_cv_header_stdc=yes
3043 echo "$as_me: failed program was:" >&5
3044 cat conftest.$ac_ext >&5
3045 ac_cv_header_stdc=no
3047 rm -f conftest.err conftest.$ac_ext
3049 if test $ac_cv_header_stdc = yes; then
3050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3051 cat >conftest.$ac_ext <<_ACEOF
3052 #line 3052 "configure"
3053 #include "confdefs.h"
3057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3058 egrep "memchr" >/dev/null 2>&1; then
3061 ac_cv_header_stdc=no
3067 if test $ac_cv_header_stdc = yes; then
3068 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3069 cat >conftest.$ac_ext <<_ACEOF
3070 #line 3070 "configure"
3071 #include "confdefs.h"
3075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3076 egrep "free" >/dev/null 2>&1; then
3079 ac_cv_header_stdc=no
3085 if test $ac_cv_header_stdc = yes; then
3086 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3087 if test "$cross_compiling" = yes; then
3090 cat >conftest.$ac_ext <<_ACEOF
3091 #line 3091 "configure"
3092 #include "confdefs.h"
3094 #if ((' ' & 0x0FF) == 0x020)
3095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3098 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3099 || ('j' <= (c) && (c) <= 'r') \
3100 || ('s' <= (c) && (c) <= 'z'))
3101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3109 for (i = 0; i < 256; i++)
3110 if (XOR (islower (i), ISLOWER (i))
3111 || toupper (i) != TOUPPER (i))
3116 rm -f conftest$ac_exeext
3117 if { (eval echo "$as_me:3117: \"$ac_link\"") >&5
3118 (eval $ac_link) 2>&5
3120 echo "$as_me:3120: \$? = $ac_status" >&5
3121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3122 { (eval echo "$as_me:3122: \"$ac_try\"") >&5
3125 echo "$as_me:3125: \$? = $ac_status" >&5
3126 (exit $ac_status); }; }; then
3129 echo "$as_me: program exited with status $ac_status" >&5
3130 echo "$as_me: failed program was:" >&5
3131 cat conftest.$ac_ext >&5
3132 ac_cv_header_stdc=no
3134 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3138 echo "$as_me:3138: result: $ac_cv_header_stdc" >&5
3139 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3140 if test $ac_cv_header_stdc = yes; then
3142 cat >>confdefs.h <<\EOF
3143 #define STDC_HEADERS 1
3148 for ac_prog in 'bison -y' byacc
3150 # Extract the first word of "$ac_prog", so it can be a program name with args.
3151 set dummy $ac_prog; ac_word=$2
3152 echo "$as_me:3152: checking for $ac_word" >&5
3153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3154 if test "${ac_cv_prog_YACC+set}" = set; then
3155 echo $ECHO_N "(cached) $ECHO_C" >&6
3157 if test -n "$YACC"; then
3158 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3160 ac_save_IFS=$IFS; IFS=$ac_path_separator
3162 for ac_dir in $ac_dummy; do
3164 test -z "$ac_dir" && ac_dir=.
3165 $as_executable_p "$ac_dir/$ac_word" || continue
3166 ac_cv_prog_YACC="$ac_prog"
3167 echo "$as_me:3167: found $ac_dir/$ac_word" >&5
3173 YACC=$ac_cv_prog_YACC
3174 if test -n "$YACC"; then
3175 echo "$as_me:3175: result: $YACC" >&5
3176 echo "${ECHO_T}$YACC" >&6
3178 echo "$as_me:3178: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3182 test -n "$YACC" && break
3184 test -n "$YACC" || YACC="yacc"
3186 for ac_prog in flex lex
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 echo "$as_me:3190: checking for $ac_word" >&5
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192 if test "${ac_cv_prog_LEX+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 if test -n "$LEX"; then
3196 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3198 ac_save_IFS=$IFS; IFS=$ac_path_separator
3200 for ac_dir in $ac_dummy; do
3202 test -z "$ac_dir" && ac_dir=.
3203 $as_executable_p "$ac_dir/$ac_word" || continue
3204 ac_cv_prog_LEX="$ac_prog"
3205 echo "$as_me:3205: found $ac_dir/$ac_word" >&5
3212 if test -n "$LEX"; then
3213 echo "$as_me:3213: result: $LEX" >&5
3214 echo "${ECHO_T}$LEX" >&6
3216 echo "$as_me:3216: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3220 test -n "$LEX" && break
3222 test -n "$LEX" || LEX=":"
3224 if test -z "$LEXLIB"
3226 echo "$as_me:3226: checking for yywrap in -lfl" >&5
3227 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3228 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 ac_check_lib_save_LIBS=$LIBS
3233 cat >conftest.$ac_ext <<_ACEOF
3234 #line 3234 "configure"
3235 #include "confdefs.h"
3237 /* Override any gcc2 internal prototype to avoid an error. */
3241 /* We use char because int might match the return type of a gcc2
3242 builtin and then its argument prototype would still apply. */
3252 rm -f conftest.$ac_objext conftest$ac_exeext
3253 if { (eval echo "$as_me:3253: \"$ac_link\"") >&5
3254 (eval $ac_link) 2>&5
3256 echo "$as_me:3256: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try='test -s conftest$ac_exeext'
3259 { (eval echo "$as_me:3259: \"$ac_try\"") >&5
3262 echo "$as_me:3262: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 ac_cv_lib_fl_yywrap=yes
3266 echo "$as_me: failed program was:" >&5
3267 cat conftest.$ac_ext >&5
3268 ac_cv_lib_fl_yywrap=no
3270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3271 LIBS=$ac_check_lib_save_LIBS
3273 echo "$as_me:3273: result: $ac_cv_lib_fl_yywrap" >&5
3274 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3275 if test $ac_cv_lib_fl_yywrap = yes; then
3278 echo "$as_me:3278: checking for yywrap in -ll" >&5
3279 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3280 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 ac_check_lib_save_LIBS=$LIBS
3285 cat >conftest.$ac_ext <<_ACEOF
3286 #line 3286 "configure"
3287 #include "confdefs.h"
3289 /* Override any gcc2 internal prototype to avoid an error. */
3293 /* We use char because int might match the return type of a gcc2
3294 builtin and then its argument prototype would still apply. */
3304 rm -f conftest.$ac_objext conftest$ac_exeext
3305 if { (eval echo "$as_me:3305: \"$ac_link\"") >&5
3306 (eval $ac_link) 2>&5
3308 echo "$as_me:3308: \$? = $ac_status" >&5
3309 (exit $ac_status); } &&
3310 { ac_try='test -s conftest$ac_exeext'
3311 { (eval echo "$as_me:3311: \"$ac_try\"") >&5
3314 echo "$as_me:3314: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then
3316 ac_cv_lib_l_yywrap=yes
3318 echo "$as_me: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3320 ac_cv_lib_l_yywrap=no
3322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3323 LIBS=$ac_check_lib_save_LIBS
3325 echo "$as_me:3325: result: $ac_cv_lib_l_yywrap" >&5
3326 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3327 if test $ac_cv_lib_l_yywrap = yes; then
3335 if test "x$LEX" != "x:"; then
3336 echo "$as_me:3336: checking lex output file root" >&5
3337 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3338 if test "${ac_cv_prog_lex_root+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 # The minimal lex program is just a single line: %%. But some broken lexes
3342 # (Solaris, I think it was) want two %% lines, so accommodate them.
3345 if test -f lex.yy.c; then
3346 ac_cv_prog_lex_root=lex.yy
3347 elif test -f lexyy.c; then
3348 ac_cv_prog_lex_root=lexyy
3350 { { echo "$as_me:3350: error: cannot find output from $LEX; giving up" >&5
3351 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3352 { (exit 1); exit 1; }; }
3355 echo "$as_me:3355: result: $ac_cv_prog_lex_root" >&5
3356 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3357 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3359 echo "$as_me:3359: checking whether yytext is a pointer" >&5
3360 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3361 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 # POSIX says lex can declare yytext either as a pointer or an array; the
3365 # default is implementation-dependent. Figure out which it is, since
3366 # not all implementations provide the %pointer and %array declarations.
3367 ac_cv_prog_lex_yytext_pointer=no
3368 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3370 LIBS="$LIBS $LEXLIB"
3371 cat >conftest.$ac_ext <<_ACEOF
3372 `cat $LEX_OUTPUT_ROOT.c`
3374 rm -f conftest.$ac_objext conftest$ac_exeext
3375 if { (eval echo "$as_me:3375: \"$ac_link\"") >&5
3376 (eval $ac_link) 2>&5
3378 echo "$as_me:3378: \$? = $ac_status" >&5
3379 (exit $ac_status); } &&
3380 { ac_try='test -s conftest$ac_exeext'
3381 { (eval echo "$as_me:3381: \"$ac_try\"") >&5
3384 echo "$as_me:3384: \$? = $ac_status" >&5
3385 (exit $ac_status); }; }; then
3386 ac_cv_prog_lex_yytext_pointer=yes
3388 echo "$as_me: failed program was:" >&5
3389 cat conftest.$ac_ext >&5
3391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3393 rm -f "${LEX_OUTPUT_ROOT}.c"
3396 echo "$as_me:3396: result: $ac_cv_prog_lex_yytext_pointer" >&5
3397 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3398 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3400 cat >>confdefs.h <<\EOF
3401 #define YYTEXT_POINTER 1
3407 if test "$LEX" = :; then
3408 LEX=${am_missing_run}flex
3410 # Find a good install program. We prefer a C program (faster),
3411 # so one script is as good as another. But avoid the broken or
3412 # incompatible versions:
3413 # SysV /etc/install, /usr/sbin/install
3414 # SunOS /usr/etc/install
3415 # IRIX /sbin/install
3417 # AmigaOS /C/install, which installs bootblocks on floppy discs
3418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3421 # ./install, which can be erroneously created by make from ./install.sh.
3422 echo "$as_me:3422: checking for a BSD compatible install" >&5
3423 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3424 if test -z "$INSTALL"; then
3425 if test "${ac_cv_path_install+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 ac_save_IFS=$IFS; IFS=$ac_path_separator
3429 for ac_dir in $PATH; do
3431 # Account for people who put trailing slashes in PATH elements.
3433 / | ./ | .// | /cC/* \
3434 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3437 # OSF1 and SCO ODT 3.0 have their own names for install.
3438 # Don't use installbsd from OSF since it installs stuff as root
3440 for ac_prog in ginstall scoinst install; do
3441 if $as_executable_p "$ac_dir/$ac_prog"; then
3442 if test $ac_prog = install &&
3443 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3444 # AIX install. It has an incompatible calling convention.
3446 elif test $ac_prog = install &&
3447 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3448 # program-specific install script used by HP pwplus--don't use.
3451 ac_cv_path_install="$ac_dir/$ac_prog -c"
3461 if test "${ac_cv_path_install+set}" = set; then
3462 INSTALL=$ac_cv_path_install
3464 # As a last resort, use the slow shell script. We don't cache a
3465 # path for INSTALL within a source directory, because that will
3466 # break other packages using the cache if that directory is
3467 # removed, or if the path is relative.
3468 INSTALL=$ac_install_sh
3471 echo "$as_me:3471: result: $INSTALL" >&5
3472 echo "${ECHO_T}$INSTALL" >&6
3474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3475 # It thinks the first close brace ends the variable substitution.
3476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3480 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3483 ac_cpp='$CPP $CPPFLAGS'
3484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487 echo "$as_me:3487: checking how to run the C preprocessor" >&5
3488 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3489 # On Suns, sometimes $CPP names a directory.
3490 if test -n "$CPP" && test -d "$CPP"; then
3493 if test -z "$CPP"; then
3494 if test "${ac_cv_prog_CPP+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 # Double quotes because CPP needs to be expanded
3498 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3501 for ac_c_preproc_warn_flag in '' yes
3503 # Use a header file that comes with gcc, so configuring glibc
3504 # with a fresh cross-compiler works.
3505 # On the NeXT, cc -E runs the code through the compiler's parser,
3506 # not just through cpp. "Syntax error" is here to catch this case.
3507 cat >conftest.$ac_ext <<_ACEOF
3508 #line 3508 "configure"
3509 #include "confdefs.h"
3513 if { (eval echo "$as_me:3513: \"$ac_cpp conftest.$ac_ext\"") >&5
3514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3516 egrep -v '^ *\+' conftest.er1 >conftest.err
3518 cat conftest.err >&5
3519 echo "$as_me:3519: \$? = $ac_status" >&5
3520 (exit $ac_status); } >/dev/null; then
3521 if test -s conftest.err; then
3522 ac_cpp_err=$ac_c_preproc_warn_flag
3529 if test -z "$ac_cpp_err"; then
3532 echo "$as_me: failed program was:" >&5
3533 cat conftest.$ac_ext >&5
3534 # Broken: fails on valid input.
3537 rm -f conftest.err conftest.$ac_ext
3539 # OK, works on sane cases. Now check whether non-existent headers
3540 # can be detected and how.
3541 cat >conftest.$ac_ext <<_ACEOF
3542 #line 3542 "configure"
3543 #include "confdefs.h"
3544 #include <ac_nonexistent.h>
3546 if { (eval echo "$as_me:3546: \"$ac_cpp conftest.$ac_ext\"") >&5
3547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3549 egrep -v '^ *\+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 echo "$as_me:3552: \$? = $ac_status" >&5
3553 (exit $ac_status); } >/dev/null; then
3554 if test -s conftest.err; then
3555 ac_cpp_err=$ac_c_preproc_warn_flag
3562 if test -z "$ac_cpp_err"; then
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was:" >&5
3567 cat conftest.$ac_ext >&5
3568 # Passes both tests.
3572 rm -f conftest.err conftest.$ac_ext
3575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3576 rm -f conftest.err conftest.$ac_ext
3577 if $ac_preproc_ok; then
3589 echo "$as_me:3589: result: $CPP" >&5
3590 echo "${ECHO_T}$CPP" >&6
3592 for ac_c_preproc_warn_flag in '' yes
3594 # Use a header file that comes with gcc, so configuring glibc
3595 # with a fresh cross-compiler works.
3596 # On the NeXT, cc -E runs the code through the compiler's parser,
3597 # not just through cpp. "Syntax error" is here to catch this case.
3598 cat >conftest.$ac_ext <<_ACEOF
3599 #line 3599 "configure"
3600 #include "confdefs.h"
3604 if { (eval echo "$as_me:3604: \"$ac_cpp conftest.$ac_ext\"") >&5
3605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3607 egrep -v '^ *\+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 echo "$as_me:3610: \$? = $ac_status" >&5
3611 (exit $ac_status); } >/dev/null; then
3612 if test -s conftest.err; then
3613 ac_cpp_err=$ac_c_preproc_warn_flag
3620 if test -z "$ac_cpp_err"; then
3623 echo "$as_me: failed program was:" >&5
3624 cat conftest.$ac_ext >&5
3625 # Broken: fails on valid input.
3628 rm -f conftest.err conftest.$ac_ext
3630 # OK, works on sane cases. Now check whether non-existent headers
3631 # can be detected and how.
3632 cat >conftest.$ac_ext <<_ACEOF
3633 #line 3633 "configure"
3634 #include "confdefs.h"
3635 #include <ac_nonexistent.h>
3637 if { (eval echo "$as_me:3637: \"$ac_cpp conftest.$ac_ext\"") >&5
3638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3640 egrep -v '^ *\+' conftest.er1 >conftest.err
3642 cat conftest.err >&5
3643 echo "$as_me:3643: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev/null; then
3645 if test -s conftest.err; then
3646 ac_cpp_err=$ac_c_preproc_warn_flag
3653 if test -z "$ac_cpp_err"; then
3654 # Broken: success on invalid input.
3657 echo "$as_me: failed program was:" >&5
3658 cat conftest.$ac_ext >&5
3659 # Passes both tests.
3663 rm -f conftest.err conftest.$ac_ext
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.err conftest.$ac_ext
3668 if $ac_preproc_ok; then
3671 { { echo "$as_me:3671: error: C preprocessor \"$CPP\" fails sanity check" >&5
3672 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3673 { (exit 1); exit 1; }; }
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 # Extract the first word of "rm", so it can be a program name with args.
3683 set dummy rm; ac_word=$2
3684 echo "$as_me:3684: checking for $ac_word" >&5
3685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3686 if test "${ac_cv_path_RM+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3694 ac_save_IFS=$IFS; IFS=$ac_path_separator
3696 for ac_dir in $ac_dummy; do
3698 test -z "$ac_dir" && ac_dir=.
3699 if $as_executable_p "$ac_dir/$ac_word"; then
3700 ac_cv_path_RM="$ac_dir/$ac_word"
3701 echo "$as_me:3701: found $ac_dir/$ac_word" >&5
3706 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
3712 if test -n "$RM"; then
3713 echo "$as_me:3713: result: $RM" >&5
3714 echo "${ECHO_T}$RM" >&6
3716 echo "$as_me:3716: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3720 # Extract the first word of "mv", so it can be a program name with args.
3721 set dummy mv; ac_word=$2
3722 echo "$as_me:3722: checking for $ac_word" >&5
3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3724 if test "${ac_cv_path_MV+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3732 ac_save_IFS=$IFS; IFS=$ac_path_separator
3734 for ac_dir in $ac_dummy; do
3736 test -z "$ac_dir" && ac_dir=.
3737 if $as_executable_p "$ac_dir/$ac_word"; then
3738 ac_cv_path_MV="$ac_dir/$ac_word"
3739 echo "$as_me:3739: found $ac_dir/$ac_word" >&5
3744 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
3750 if test -n "$MV"; then
3751 echo "$as_me:3751: result: $MV" >&5
3752 echo "${ECHO_T}$MV" >&6
3754 echo "$as_me:3754: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3758 # Extract the first word of "tar", so it can be a program name with args.
3759 set dummy tar; ac_word=$2
3760 echo "$as_me:3760: checking for $ac_word" >&5
3761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3762 if test "${ac_cv_path_TAR+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
3770 ac_save_IFS=$IFS; IFS=$ac_path_separator
3772 for ac_dir in $ac_dummy; do
3774 test -z "$ac_dir" && ac_dir=.
3775 if $as_executable_p "$ac_dir/$ac_word"; then
3776 ac_cv_path_TAR="$ac_dir/$ac_word"
3777 echo "$as_me:3777: found $ac_dir/$ac_word" >&5
3782 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
3788 if test -n "$TAR"; then
3789 echo "$as_me:3789: result: $TAR" >&5
3790 echo "${ECHO_T}$TAR" >&6
3792 echo "$as_me:3792: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3798 if test -z "$PKG_CONFIG"; then
3799 # Extract the first word of "pkg-config", so it can be a program name with args.
3800 set dummy pkg-config; ac_word=$2
3801 echo "$as_me:3801: checking for $ac_word" >&5
3802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3811 ac_save_IFS=$IFS; IFS=$ac_path_separator
3813 for ac_dir in $ac_dummy; do
3815 test -z "$ac_dir" && ac_dir=.
3816 if $as_executable_p "$ac_dir/$ac_word"; then
3817 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
3818 echo "$as_me:3818: found $ac_dir/$ac_word" >&5
3823 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3829 if test -n "$PKG_CONFIG"; then
3830 echo "$as_me:3830: result: $PKG_CONFIG" >&5
3831 echo "${ECHO_T}$PKG_CONFIG" >&6
3833 echo "$as_me:3833: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3839 if test "$PKG_CONFIG" = "no" ; then
3840 echo "*** The pkg-config script could not be found. Make sure it is"
3841 echo "*** in your path, or set the PKG_CONFIG environment variable"
3842 echo "*** to the full path to pkg-config."
3843 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3845 PKG_CONFIG_MIN_VERSION=0.9.0
3846 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3847 echo "$as_me:3847: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
3848 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
3850 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
3851 echo "$as_me:3851: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6
3855 echo "$as_me:3855: checking GLIB_CFLAGS" >&5
3856 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
3857 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
3858 echo "$as_me:3858: result: $GLIB_CFLAGS" >&5
3859 echo "${ECHO_T}$GLIB_CFLAGS" >&6
3861 echo "$as_me:3861: checking GLIB_LIBS" >&5
3862 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
3863 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
3864 echo "$as_me:3864: result: $GLIB_LIBS" >&5
3865 echo "${ECHO_T}$GLIB_LIBS" >&6
3869 ## If we have a custom action on failure, don't print errors, but
3870 ## do set a variable so people can do so.
3871 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
3872 echo $GLIB_PKG_ERRORS
3876 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3877 echo "*** See http://www.freedesktop.org/software/pkgconfig"
3881 if test $succeeded = yes; then
3884 { { echo "$as_me:3884: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3885 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3886 { (exit 1); exit 1; }; }
3889 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
3890 cat >confcache <<\_ACEOF
3891 # This file is a shell script that caches the results of configure
3892 # tests run on this system so they can be shared between configure
3893 # scripts and configure runs, see configure's option --config-cache.
3894 # It is not useful on other systems. If it contains results you don't
3895 # want to keep, you may remove or edit it.
3897 # config.status only pays attention to the cache file if you give it
3898 # the --recheck option to rerun configure.
3900 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3906 # The following way of writing the cache mishandles newlines in values,
3907 # but we know of no workaround that is simple, portable, and efficient.
3908 # So, don't put newlines in cache variables' values.
3909 # Ultrix sh set writes to stderr and can't be redirected directly,
3910 # and sets the high bit in the cache file unless we assign to the vars.
3913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3915 # `set' does not quote correctly, so add quotes (double-quote
3916 # substitution turns \\\\ into \\, and sed turns \\ into \).
3919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3922 # `set' quotes correctly as required by POSIX, so do not add quotes.
3924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3935 if cmp -s $cache_file confcache; then :; else
3936 if test -w $cache_file; then
3937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3938 cat confcache >$cache_file
3940 echo "not updating unwritable cache $cache_file"
3945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3946 # Let make expand exec_prefix.
3947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3949 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3950 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3951 # trailing colons and then remove the whole line if VPATH becomes empty
3952 # (actually we leave an empty line to preserve line numbers).
3953 if test "x$srcdir" = x.; then
3954 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3955 s/:*\$(srcdir):*/:/;
3956 s/:*\${srcdir}:*/:/;
3958 s/^\([^=]*=[ ]*\):*/\1/;
3964 DEFS=-DHAVE_CONFIG_H
3966 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3967 { { echo "$as_me:3967: error: conditional \"MAINTAINER_MODE\" was never defined.
3968 Usually this means the macro was only invoked conditionally." >&5
3969 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3970 Usually this means the macro was only invoked conditionally." >&2;}
3971 { (exit 1); exit 1; }; }
3973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3974 { { echo "$as_me:3974: error: conditional \"AMDEP\" was never defined.
3975 Usually this means the macro was only invoked conditionally." >&5
3976 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3977 Usually this means the macro was only invoked conditionally." >&2;}
3978 { (exit 1); exit 1; }; }
3981 : ${CONFIG_STATUS=./config.status}
3982 ac_clean_files_save=$ac_clean_files
3983 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3984 { echo "$as_me:3984: creating $CONFIG_STATUS" >&5
3985 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3986 cat >$CONFIG_STATUS <<_ACEOF
3988 # Generated automatically by configure.
3989 # Run this file to recreate the current configuration.
3990 # Compiler output produced by configure, useful for debugging
3991 # configure, is in config.log if it exists.
3994 SHELL=\${CONFIG_SHELL-$SHELL}
3995 ac_cs_invocation="\$0 \$@"
3999 cat >>$CONFIG_STATUS <<\_ACEOF
4000 # Be Bourne compatible
4001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4004 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4008 # Name of the executable.
4009 as_me=`echo "$0" |sed 's,.*[\\/],,'`
4011 if expr a : '\(a\)' >/dev/null 2>&1; then
4017 rm -f conf$$ conf$$.exe conf$$.file
4019 if ln -s conf$$.file conf$$ 2>/dev/null; then
4020 # We could just check for DJGPP; but this test a) works b) is more generic
4021 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4022 if test -f conf$$.exe; then
4023 # Don't use ln at all; we don't have any links
4028 elif ln conf$$.file conf$$ 2>/dev/null; then
4033 rm -f conf$$ conf$$.exe conf$$.file
4035 as_executable_p="test -f"
4037 # Support unset when possible.
4038 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4045 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
4046 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
4047 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
4048 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
4049 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
4050 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
4051 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
4052 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
4055 # We need space, tab and new line, in precisely that order.
4061 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
4067 # Files that config.status was made for.
4068 if test -n "$ac_config_files"; then
4069 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4072 if test -n "$ac_config_headers"; then
4073 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4076 if test -n "$ac_config_links"; then
4077 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4080 if test -n "$ac_config_commands"; then
4081 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4084 cat >>$CONFIG_STATUS <<\EOF
4087 \`$as_me' instantiates files from templates according to the
4088 current configuration.
4090 Usage: $0 [OPTIONS] [FILE]...
4092 -h, --help print this help, then exit
4093 -V, --version print version number, then exit
4094 -d, --debug don't remove temporary files
4095 --recheck update $as_me by reconfiguring in the same conditions
4096 --file=FILE[:TEMPLATE]
4097 instantiate the configuration file FILE
4098 --header=FILE[:TEMPLATE]
4099 instantiate the configuration header FILE
4101 Configuration files:
4104 Configuration headers:
4107 Configuration commands:
4110 Report bugs to <bug-autoconf@gnu.org>."
4113 cat >>$CONFIG_STATUS <<EOF
4116 configured by $0, generated by GNU Autoconf 2.52,
4117 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4119 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4120 Free Software Foundation, Inc.
4121 This config.status script is free software; the Free Software Foundation
4122 gives unlimited permission to copy, distribute and modify it."
4127 cat >>$CONFIG_STATUS <<\EOF
4128 # If no file are specified by the user, then we need to provide default
4129 # value. By we need to know if files were specified by the user.
4135 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4136 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4138 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4142 *) # This is not an option, so the user has probably given explicit
4144 ac_need_defaults=false;;
4148 # Handling of the options.
4150 cat >>$CONFIG_STATUS <<EOF
4151 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4152 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4153 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4155 cat >>$CONFIG_STATUS <<\EOF
4156 --version | --vers* | -V )
4157 echo "$ac_cs_version"; exit 0 ;;
4159 # Conflict between --help and --header
4160 { { echo "$as_me:4160: error: ambiguous option: $1
4161 Try \`$0 --help' for more information." >&5
4162 echo "$as_me: error: ambiguous option: $1
4163 Try \`$0 --help' for more information." >&2;}
4164 { (exit 1); exit 1; }; };;
4165 --help | --hel | -h )
4166 echo "$ac_cs_usage"; exit 0 ;;
4167 --debug | --d* | -d )
4169 --file | --fil | --fi | --f )
4171 CONFIG_FILES="$CONFIG_FILES $1"
4172 ac_need_defaults=false;;
4173 --header | --heade | --head | --hea )
4175 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4176 ac_need_defaults=false;;
4179 -*) { { echo "$as_me:4179: error: unrecognized option: $1
4180 Try \`$0 --help' for more information." >&5
4181 echo "$as_me: error: unrecognized option: $1
4182 Try \`$0 --help' for more information." >&2;}
4183 { (exit 1); exit 1; }; } ;;
4185 *) ac_config_targets="$ac_config_targets $1" ;;
4194 ## ----------------------- ##
4195 ## Running config.status. ##
4196 ## ----------------------- ##
4198 This file was extended by $as_me 2.52, executed with
4199 CONFIG_FILES = $CONFIG_FILES
4200 CONFIG_HEADERS = $CONFIG_HEADERS
4201 CONFIG_LINKS = $CONFIG_LINKS
4202 CONFIG_COMMANDS = $CONFIG_COMMANDS
4204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4209 cat >>$CONFIG_STATUS <<EOF
4211 # INIT-COMMANDS section.
4214 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4218 cat >>$CONFIG_STATUS <<\EOF
4219 for ac_config_target in $ac_config_targets
4221 case "$ac_config_target" in
4222 # Handling of arguments.
4223 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
4224 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4225 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4226 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4227 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
4228 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
4229 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4230 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4231 *) { { echo "$as_me:4231: error: invalid argument: $ac_config_target" >&5
4232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4233 { (exit 1); exit 1; }; };;
4237 # If the user did not use the arguments to specify the items to instantiate,
4238 # then the envvar interface is used. Set only those that are not.
4239 # We use the long form for the default assignment because of an extremely
4240 # bizarre bug on SunOS 4.1.3.
4241 if $ac_need_defaults; then
4242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4243 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4244 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4247 # Create a temporary directory, and hook for its removal unless debugging.
4250 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4251 trap '{ (exit 1); exit 1; }' 1 2 13 15
4254 # Create a (secure) tmp directory for tmp files.
4257 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4258 test -n "$tmp" && test -d "$tmp"
4261 tmp=$TMPDIR/cs$$-$RANDOM
4262 (umask 077 && mkdir $tmp)
4265 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4266 { (exit 1); exit 1; }
4271 cat >>$CONFIG_STATUS <<EOF
4274 # CONFIG_FILES section.
4277 # No need to generate the scripts if there are no CONFIG_FILES.
4278 # This happens for instance when ./config.status config.h
4279 if test -n "\$CONFIG_FILES"; then
4280 # Protect against being on the right side of a sed subst in config.status.
4281 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4282 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4283 s,@SHELL@,$SHELL,;t t
4284 s,@exec_prefix@,$exec_prefix,;t t
4285 s,@prefix@,$prefix,;t t
4286 s,@program_transform_name@,$program_transform_name,;t t
4287 s,@bindir@,$bindir,;t t
4288 s,@sbindir@,$sbindir,;t t
4289 s,@libexecdir@,$libexecdir,;t t
4290 s,@datadir@,$datadir,;t t
4291 s,@sysconfdir@,$sysconfdir,;t t
4292 s,@sharedstatedir@,$sharedstatedir,;t t
4293 s,@localstatedir@,$localstatedir,;t t
4294 s,@libdir@,$libdir,;t t
4295 s,@includedir@,$includedir,;t t
4296 s,@oldincludedir@,$oldincludedir,;t t
4297 s,@infodir@,$infodir,;t t
4298 s,@mandir@,$mandir,;t t
4299 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4300 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4301 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4302 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4303 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4304 s,@build_alias@,$build_alias,;t t
4305 s,@host_alias@,$host_alias,;t t
4306 s,@target_alias@,$target_alias,;t t
4307 s,@ECHO_C@,$ECHO_C,;t t
4308 s,@ECHO_N@,$ECHO_N,;t t
4309 s,@ECHO_T@,$ECHO_T,;t t
4310 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4313 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4314 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4315 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4316 s,@PACKAGE@,$PACKAGE,;t t
4317 s,@VERSION@,$VERSION,;t t
4318 s,@ACLOCAL@,$ACLOCAL,;t t
4319 s,@AUTOCONF@,$AUTOCONF,;t t
4320 s,@AUTOMAKE@,$AUTOMAKE,;t t
4321 s,@AUTOHEADER@,$AUTOHEADER,;t t
4322 s,@MAKEINFO@,$MAKEINFO,;t t
4323 s,@AMTAR@,$AMTAR,;t t
4324 s,@install_sh@,$install_sh,;t t
4325 s,@STRIP@,$STRIP,;t t
4326 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4327 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4329 s,@SET_MAKE@,$SET_MAKE,;t t
4330 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4331 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4332 s,@MAINT@,$MAINT,;t t
4333 s,@SUBDIRS@,$SUBDIRS,;t t
4334 s,@DOINSTGOB@,$DOINSTGOB,;t t
4335 s,@NOINSTGOB@,$NOINSTGOB,;t t
4337 s,@CFLAGS@,$CFLAGS,;t t
4338 s,@LDFLAGS@,$LDFLAGS,;t t
4339 s,@CPPFLAGS@,$CPPFLAGS,;t t
4340 s,@ac_ct_CC@,$ac_ct_CC,;t t
4341 s,@EXEEXT@,$EXEEXT,;t t
4342 s,@OBJEXT@,$OBJEXT,;t t
4343 s,@DEPDIR@,$DEPDIR,;t t
4344 s,@am__include@,$am__include,;t t
4345 s,@am__quote@,$am__quote,;t t
4346 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4347 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4348 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4349 s,@CCDEPMODE@,$CCDEPMODE,;t t
4353 s,@LEXLIB@,$LEXLIB,;t t
4354 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4358 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4359 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
4360 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
4361 s,@YFLAGS@,$YFLAGS,;t t
4366 cat >>$CONFIG_STATUS <<\EOF
4367 # Split the substitutions into bite-sized pieces for seds with
4368 # small command number limits, like on Digital OSF/1 and HP-UX.
4370 ac_sed_frag=1 # Number of current file.
4371 ac_beg=1 # First line for current file.
4372 ac_end=$ac_max_sed_lines # Line after last line for current file.
4375 while $ac_more_lines; do
4376 if test $ac_beg -gt 1; then
4377 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4379 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4381 if test ! -s $tmp/subs.frag; then
4384 # The purpose of the label and of the branching condition is to
4385 # speed up the sed processing (if there are no `@' at all, there
4386 # is no need to browse any of the substitutions).
4387 # These are the two extra sed commands mentioned above.
4389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4390 if test -z "$ac_sed_cmds"; then
4391 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4393 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4395 ac_sed_frag=`expr $ac_sed_frag + 1`
4397 ac_end=`expr $ac_end + $ac_max_sed_lines`
4400 if test -z "$ac_sed_cmds"; then
4403 fi # test -n "$CONFIG_FILES"
4406 cat >>$CONFIG_STATUS <<\EOF
4407 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4408 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4410 - | *:- | *:-:* ) # input from stdin
4412 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4413 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4414 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4415 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4416 * ) ac_file_in=$ac_file.in ;;
4419 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4420 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4421 X"$ac_file" : 'X\(//\)[^/]' \| \
4422 X"$ac_file" : 'X\(//\)$' \| \
4423 X"$ac_file" : 'X\(/\)' \| \
4424 . : '\(.\)' 2>/dev/null ||
4426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4428 /^X\(\/\/\)$/{ s//\1/; q; }
4429 /^X\(\/\).*/{ s//\1/; q; }
4431 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4433 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4437 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4438 case $as_mkdir_dir in
4439 # Skip DOS drivespec
4440 ?:) as_incr_dir=$as_mkdir_dir ;;
4442 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4443 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4448 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
4449 # A "../" for each directory in $ac_dir_suffix.
4450 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
4452 ac_dir_suffix= ac_dots=
4457 if test -z "$ac_dots"; then
4460 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
4463 ac_srcdir=$srcdir$ac_dir_suffix;
4464 ac_top_srcdir=$srcdir ;;
4466 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
4467 ac_top_srcdir=$ac_dots$srcdir ;;
4471 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4472 *) ac_INSTALL=$ac_dots$INSTALL ;;
4475 if test x"$ac_file" != x-; then
4476 { echo "$as_me:4476: creating $ac_file" >&5
4477 echo "$as_me: creating $ac_file" >&6;}
4480 # Let's still pretend it is `configure' which instantiates (i.e., don't
4481 # use $as_me), people would be surprised to read:
4482 # /* config.h. Generated automatically by config.status. */
4483 configure_input="Generated automatically from `echo $ac_file_in |
4484 sed 's,.*/,,'` by configure."
4486 # First look for the input files in the build tree, otherwise in the
4488 ac_file_inputs=`IFS=:
4489 for f in $ac_file_in; do
4491 -) echo $tmp/stdin ;;
4493 # Absolute (can't be DOS-style, as IFS=:)
4494 test -f "$f" || { { echo "$as_me:4494: error: cannot find input file: $f" >&5
4495 echo "$as_me: error: cannot find input file: $f" >&2;}
4496 { (exit 1); exit 1; }; }
4499 if test -f "$f"; then
4502 elif test -f "$srcdir/$f"; then
4507 { { echo "$as_me:4507: error: cannot find input file: $f" >&5
4508 echo "$as_me: error: cannot find input file: $f" >&2;}
4509 { (exit 1); exit 1; }; }
4512 done` || { (exit 1); exit 1; }
4514 cat >>$CONFIG_STATUS <<EOF
4518 cat >>$CONFIG_STATUS <<\EOF
4520 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4521 s,@configure_input@,$configure_input,;t t
4522 s,@srcdir@,$ac_srcdir,;t t
4523 s,@top_srcdir@,$ac_top_srcdir,;t t
4524 s,@INSTALL@,$ac_INSTALL,;t t
4525 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4527 if test x"$ac_file" != x-; then
4528 mv $tmp/out $ac_file
4536 cat >>$CONFIG_STATUS <<\EOF
4539 # CONFIG_HEADER section.
4542 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4543 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4545 # ac_d sets the value in "#define NAME VALUE" lines.
4546 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4547 ac_dB='[ ].*$,\1#\2'
4550 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4551 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4552 ac_uB='$,\1#\2define\3'
4556 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4559 - | *:- | *:-:* ) # input from stdin
4561 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4562 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4563 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4564 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4565 * ) ac_file_in=$ac_file.in ;;
4568 test x"$ac_file" != x- && { echo "$as_me:4568: creating $ac_file" >&5
4569 echo "$as_me: creating $ac_file" >&6;}
4571 # First look for the input files in the build tree, otherwise in the
4573 ac_file_inputs=`IFS=:
4574 for f in $ac_file_in; do
4576 -) echo $tmp/stdin ;;
4578 # Absolute (can't be DOS-style, as IFS=:)
4579 test -f "$f" || { { echo "$as_me:4579: error: cannot find input file: $f" >&5
4580 echo "$as_me: error: cannot find input file: $f" >&2;}
4581 { (exit 1); exit 1; }; }
4584 if test -f "$f"; then
4587 elif test -f "$srcdir/$f"; then
4592 { { echo "$as_me:4592: error: cannot find input file: $f" >&5
4593 echo "$as_me: error: cannot find input file: $f" >&2;}
4594 { (exit 1); exit 1; }; }
4597 done` || { (exit 1); exit 1; }
4598 # Remove the trailing spaces.
4599 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4603 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4604 # `conftest.undefs', that substitutes the proper values into
4605 # config.h.in to produce config.h. The first handles `#define'
4606 # templates, and the second `#undef' templates.
4607 # And first: Protect against being on the right side of a sed subst in
4608 # config.status. Protect against being in an unquoted here document
4610 rm -f conftest.defines conftest.undefs
4611 # Using a here document instead of a string reduces the quoting nightmare.
4612 # Putting comments in sed scripts is not portable.
4614 # `end' is used to avoid that the second main sed command (meant for
4615 # 0-ary CPP macros) applies to n-ary macro definitions.
4616 # See the Autoconf documentation for `clear'.
4617 cat >confdef2sed.sed <<\EOF
4622 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
4624 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4627 # If some macros were called several times there might be several times
4628 # the same #defines, which is useless. Nevertheless, we may not want to
4629 # sort them, since we want the *last* AC-DEFINE to be honored.
4630 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4631 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4632 rm -f confdef2sed.sed
4634 # This sed command replaces #undef with comments. This is necessary, for
4635 # example, in the case of _POSIX_SOURCE, which is predefined and required
4636 # on some systems where configure will not decide to define it.
4637 cat >>conftest.undefs <<\EOF
4638 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4641 # Break up conftest.defines because some shells have a limit on the size
4642 # of here documents, and old seds have small limits too (100 cmds).
4643 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4644 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4645 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4646 echo ' :' >>$CONFIG_STATUS
4648 while grep . conftest.defines >/dev/null
4650 # Write a limited-size here document to $tmp/defines.sed.
4651 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4652 # Speed up: don't consider the non `#define' lines.
4653 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4654 # Work around the forget-to-reset-the-flag bug.
4655 echo 't clr' >>$CONFIG_STATUS
4656 echo ': clr' >>$CONFIG_STATUS
4657 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4659 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4663 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4664 rm -f conftest.defines
4665 mv conftest.tail conftest.defines
4667 rm -f conftest.defines
4668 echo ' fi # egrep' >>$CONFIG_STATUS
4669 echo >>$CONFIG_STATUS
4671 # Break up conftest.undefs because some shells have a limit on the size
4672 # of here documents, and old seds have small limits too (100 cmds).
4673 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4675 while grep . conftest.undefs >/dev/null
4677 # Write a limited-size here document to $tmp/undefs.sed.
4678 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4679 # Speed up: don't consider the non `#undef'
4680 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4681 # Work around the forget-to-reset-the-flag bug.
4682 echo 't clr' >>$CONFIG_STATUS
4683 echo ': clr' >>$CONFIG_STATUS
4684 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4686 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4690 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4691 rm -f conftest.undefs
4692 mv conftest.tail conftest.undefs
4694 rm -f conftest.undefs
4696 cat >>$CONFIG_STATUS <<\EOF
4697 # Let's still pretend it is `configure' which instantiates (i.e., don't
4698 # use $as_me), people would be surprised to read:
4699 # /* config.h. Generated automatically by config.status. */
4700 if test x"$ac_file" = x-; then
4701 echo "/* Generated automatically by configure. */" >$tmp/config.h
4703 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
4705 cat $tmp/in >>$tmp/config.h
4707 if test x"$ac_file" != x-; then
4708 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4709 { echo "$as_me:4709: $ac_file is unchanged" >&5
4710 echo "$as_me: $ac_file is unchanged" >&6;}
4712 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4713 X"$ac_file" : 'X\(//\)[^/]' \| \
4714 X"$ac_file" : 'X\(//\)$' \| \
4715 X"$ac_file" : 'X\(/\)' \| \
4716 . : '\(.\)' 2>/dev/null ||
4718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4720 /^X\(\/\/\)$/{ s//\1/; q; }
4721 /^X\(\/\).*/{ s//\1/; q; }
4723 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4725 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4729 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4730 case $as_mkdir_dir in
4731 # Skip DOS drivespec
4732 ?:) as_incr_dir=$as_mkdir_dir ;;
4734 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4735 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4742 mv $tmp/config.h $ac_file
4748 # Run the commands associated with the file.
4750 config.h ) # update the timestamp
4751 echo 'timestamp for config.h' >"./stamp-h1"
4756 cat >>$CONFIG_STATUS <<\EOF
4759 # CONFIG_COMMANDS section.
4761 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4762 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4763 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4766 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4767 # Strip MF so we end up with the name of the file.
4768 mf=`echo "$mf" | sed -e 's/:.*$//'`
4769 # Check whether this is an Automake generated Makefile or not.
4770 # We used to match only the files named `Makefile.in', but
4771 # some people rename them; so instead we look at the file content.
4772 # Grep'ing the first line is not enough: some people post-process
4773 # each Makefile.in and add a new line on top of each file to say so.
4774 # So let's grep whole file.
4775 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4776 dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777 X"$mf" : 'X\(//\)[^/]' \| \
4778 X"$mf" : 'X\(//\)$' \| \
4779 X"$mf" : 'X\(/\)' \| \
4780 . : '\(.\)' 2>/dev/null ||
4782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4784 /^X\(\/\/\)$/{ s//\1/; q; }
4785 /^X\(\/\).*/{ s//\1/; q; }
4790 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4791 # Extract the definition of DEP_FILES from the Makefile without
4793 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4794 test -z "$DEPDIR" && continue
4795 # When using ansi2knr, U may be empty or an underscore; expand it
4796 U=`sed -n -e '/^U = / s///p' < "$mf"`
4797 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4798 # We invoke sed twice because it is the simplest approach to
4799 # changing $(DEPDIR) to its actual value in the expansion.
4800 for file in `sed -n -e '
4801 /^DEP_FILES = .*\\\\$/ {
4810 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4811 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4812 # Make sure the directory exists.
4813 test -f "$dirpart/$file" && continue
4814 fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4815 X"$file" : 'X\(//\)[^/]' \| \
4816 X"$file" : 'X\(//\)$' \| \
4817 X"$file" : 'X\(/\)' \| \
4818 . : '\(.\)' 2>/dev/null ||
4820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4822 /^X\(\/\/\)$/{ s//\1/; q; }
4823 /^X\(\/\).*/{ s//\1/; q; }
4825 { case $dirpart/$fdir in
4826 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4829 as_dummy=$dirpart/$fdir
4830 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4831 case $as_mkdir_dir in
4832 # Skip DOS drivespec
4833 ?:) as_incr_dir=$as_mkdir_dir ;;
4835 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4836 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4841 # echo "creating $dirpart/$file"
4842 echo '# dummy' > "$dirpart/$file"
4850 cat >>$CONFIG_STATUS <<\EOF
4852 { (exit 0); exit 0; }
4854 chmod +x $CONFIG_STATUS
4855 ac_clean_files=$ac_clean_files_save
4857 # configure is writing to config.log, and then calls config.status.
4858 # config.status does its own redirection, appending to config.log.
4859 # Unfortunately, on DOS this fails, as config.log is still kept open
4860 # by configure, so config.status won't be able to write to it; its
4861 # output is simply discarded. So we exec the FD to /dev/null,
4862 # effectively closing config.log, so it can be properly (re)opened and
4863 # appended to by config.status. When coming back to configure, we
4864 # need to make the FD available again.
4865 if test "$no_create" != yes; then
4868 $SHELL $CONFIG_STATUS || ac_cs_success=false
4870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4871 # would make configure fail if this is the last instruction.
4872 $ac_cs_success || { (exit 1); exit 1; }