2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file="src/treefuncs.h"
263 # Initialize some variables set by options.
265 ac_init_version=false
266 # The variables have the same names as the options, with
267 # dashes changed to underlines.
275 program_transform_name=s,x,x,
283 # Installation directory options.
284 # These are left unexpanded so users can "make install exec_prefix=/foo"
285 # and all the variables that are supposed to be based on exec_prefix
286 # by default will actually change.
287 # Use braces instead of parens because sh, perl, etc. also accept them.
288 bindir='${exec_prefix}/bin'
289 sbindir='${exec_prefix}/sbin'
290 libexecdir='${exec_prefix}/libexec'
291 datadir='${prefix}/share'
292 sysconfdir='${prefix}/etc'
293 sharedstatedir='${prefix}/com'
294 localstatedir='${prefix}/var'
295 libdir='${exec_prefix}/lib'
296 includedir='${prefix}/include'
297 oldincludedir='/usr/include'
298 infodir='${prefix}/info'
299 mandir='${prefix}/man'
304 # If the previous option needs an argument, assign it.
305 if test -n "$ac_prev"; then
306 eval "$ac_prev=\$ac_option"
311 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
313 # Accept the important Cygnus configure options, so we can diagnose typos.
317 -bindir | --bindir | --bindi | --bind | --bin | --bi)
319 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
322 -build | --build | --buil | --bui | --bu)
323 ac_prev=build_alias ;;
324 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
325 build_alias=$ac_optarg ;;
327 -cache-file | --cache-file | --cache-fil | --cache-fi \
328 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
329 ac_prev=cache_file ;;
330 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
332 cache_file=$ac_optarg ;;
335 cache_file=config.cache ;;
337 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
339 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
341 datadir=$ac_optarg ;;
343 -disable-* | --disable-*)
344 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345 # Reject names that are not valid shell variable names.
346 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
347 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348 { (exit 1); exit 1; }; }
349 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
350 eval "enable_$ac_feature=no" ;;
352 -enable-* | --enable-*)
353 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354 # Reject names that are not valid shell variable names.
355 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
356 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357 { (exit 1); exit 1; }; }
358 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
360 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
363 eval "enable_$ac_feature='$ac_optarg'" ;;
365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367 | --exec | --exe | --ex)
368 ac_prev=exec_prefix ;;
369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371 | --exec=* | --exe=* | --ex=*)
372 exec_prefix=$ac_optarg ;;
374 -gas | --gas | --ga | --g)
375 # Obsolete; use --with-gas.
378 -help | --help | --hel | --he | -h)
380 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
381 ac_init_help=recursive ;;
382 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
383 ac_init_help=short ;;
385 -host | --host | --hos | --ho)
386 ac_prev=host_alias ;;
387 -host=* | --host=* | --hos=* | --ho=*)
388 host_alias=$ac_optarg ;;
390 -includedir | --includedir | --includedi | --included | --include \
391 | --includ | --inclu | --incl | --inc)
392 ac_prev=includedir ;;
393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
394 | --includ=* | --inclu=* | --incl=* | --inc=*)
395 includedir=$ac_optarg ;;
397 -infodir | --infodir | --infodi | --infod | --info | --inf)
399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
400 infodir=$ac_optarg ;;
402 -libdir | --libdir | --libdi | --libd)
404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
408 | --libexe | --libex | --libe)
409 ac_prev=libexecdir ;;
410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
411 | --libexe=* | --libex=* | --libe=*)
412 libexecdir=$ac_optarg ;;
414 -localstatedir | --localstatedir | --localstatedi | --localstated \
415 | --localstate | --localstat | --localsta | --localst \
416 | --locals | --local | --loca | --loc | --lo)
417 ac_prev=localstatedir ;;
418 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
419 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
420 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
421 localstatedir=$ac_optarg ;;
423 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
425 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
429 # Obsolete; use --without-fp.
432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433 | --no-cr | --no-c | -n)
436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
440 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
441 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
442 | --oldin | --oldi | --old | --ol | --o)
443 ac_prev=oldincludedir ;;
444 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
445 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
446 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
447 oldincludedir=$ac_optarg ;;
449 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
451 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
454 -program-prefix | --program-prefix | --program-prefi | --program-pref \
455 | --program-pre | --program-pr | --program-p)
456 ac_prev=program_prefix ;;
457 -program-prefix=* | --program-prefix=* | --program-prefi=* \
458 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
459 program_prefix=$ac_optarg ;;
461 -program-suffix | --program-suffix | --program-suffi | --program-suff \
462 | --program-suf | --program-su | --program-s)
463 ac_prev=program_suffix ;;
464 -program-suffix=* | --program-suffix=* | --program-suffi=* \
465 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
466 program_suffix=$ac_optarg ;;
468 -program-transform-name | --program-transform-name \
469 | --program-transform-nam | --program-transform-na \
470 | --program-transform-n | --program-transform- \
471 | --program-transform | --program-transfor \
472 | --program-transfo | --program-transf \
473 | --program-trans | --program-tran \
474 | --progr-tra | --program-tr | --program-t)
475 ac_prev=program_transform_name ;;
476 -program-transform-name=* | --program-transform-name=* \
477 | --program-transform-nam=* | --program-transform-na=* \
478 | --program-transform-n=* | --program-transform-=* \
479 | --program-transform=* | --program-transfor=* \
480 | --program-transfo=* | --program-transf=* \
481 | --program-trans=* | --program-tran=* \
482 | --progr-tra=* | --program-tr=* | --program-t=*)
483 program_transform_name=$ac_optarg ;;
485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
486 | -silent | --silent | --silen | --sile | --sil)
489 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
491 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
493 sbindir=$ac_optarg ;;
495 -sharedstatedir | --sharedstatedir | --sharedstatedi \
496 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
497 | --sharedst | --shareds | --shared | --share | --shar \
499 ac_prev=sharedstatedir ;;
500 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
501 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
502 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
504 sharedstatedir=$ac_optarg ;;
506 -site | --site | --sit)
508 -site=* | --site=* | --sit=*)
511 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
513 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
516 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
517 | --syscon | --sysco | --sysc | --sys | --sy)
518 ac_prev=sysconfdir ;;
519 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
520 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
521 sysconfdir=$ac_optarg ;;
523 -target | --target | --targe | --targ | --tar | --ta | --t)
524 ac_prev=target_alias ;;
525 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
526 target_alias=$ac_optarg ;;
528 -v | -verbose | --verbose | --verbos | --verbo | --verb)
531 -version | --version | --versio | --versi | --vers | -V)
535 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536 # Reject names that are not valid shell variable names.
537 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
538 { echo "$as_me: error: invalid package name: $ac_package" >&2
539 { (exit 1); exit 1; }; }
540 ac_package=`echo $ac_package| sed 's/-/_/g'`
542 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
545 eval "with_$ac_package='$ac_optarg'" ;;
547 -without-* | --without-*)
548 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package=`echo $ac_package | sed 's/-/_/g'`
554 eval "with_$ac_package=no" ;;
557 # Obsolete; use --with-x.
560 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
561 | --x-incl | --x-inc | --x-in | --x-i)
562 ac_prev=x_includes ;;
563 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
564 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
565 x_includes=$ac_optarg ;;
567 -x-libraries | --x-libraries | --x-librarie | --x-librari \
568 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
569 ac_prev=x_libraries ;;
570 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
571 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
572 x_libraries=$ac_optarg ;;
574 -*) { echo "$as_me: error: unrecognized option: $ac_option
575 Try \`$0 --help' for more information." >&2
576 { (exit 1); exit 1; }; }
580 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
583 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584 { (exit 1); exit 1; }; }
585 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586 eval "$ac_envvar='$ac_optarg'"
590 # FIXME: should be removed in autoconf 3.0.
591 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
600 if test -n "$ac_prev"; then
601 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
602 { echo "$as_me: error: missing argument to $ac_option" >&2
603 { (exit 1); exit 1; }; }
606 # Be sure to have absolute paths.
607 for ac_var in exec_prefix prefix
609 eval ac_val=$`echo $ac_var`
611 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
612 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613 { (exit 1); exit 1; }; };;
617 # Be sure to have absolute paths.
618 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619 localstatedir libdir includedir oldincludedir infodir mandir
621 eval ac_val=$`echo $ac_var`
623 [\\/$]* | ?:[\\/]* ) ;;
624 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625 { (exit 1); exit 1; }; };;
629 # There might be people who depend on the old broken behavior: `$host'
630 # used to hold the argument of --host etc.
631 # FIXME: To remove some day.
636 # FIXME: To remove some day.
637 if test "x$host_alias" != x; then
638 if test "x$build_alias" = x; then
639 cross_compiling=maybe
640 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641 If a cross compiler is detected then cross compile mode will be used." >&2
642 elif test "x$build_alias" != "x$host_alias"; then
648 test -n "$host_alias" && ac_tool_prefix=$host_alias-
650 test "$silent" = yes && exec 6>/dev/null
653 # Find the source files, if location was not specified.
654 if test -z "$srcdir"; then
655 ac_srcdir_defaulted=yes
656 # Try the directory containing this script, then its parent.
657 ac_confdir=`(dirname "$0") 2>/dev/null ||
658 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659 X"$0" : 'X\(//\)[^/]' \| \
660 X"$0" : 'X\(//\)$' \| \
661 X"$0" : 'X\(/\)' \| \
662 . : '\(.\)' 2>/dev/null ||
664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666 /^X\(\/\/\)$/{ s//\1/; q; }
667 /^X\(\/\).*/{ s//\1/; q; }
670 if test ! -r $srcdir/$ac_unique_file; then
674 ac_srcdir_defaulted=no
676 if test ! -r $srcdir/$ac_unique_file; then
677 if test "$ac_srcdir_defaulted" = yes; then
678 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679 { (exit 1); exit 1; }; }
681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682 { (exit 1); exit 1; }; }
685 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686 ac_env_build_alias_set=${build_alias+set}
687 ac_env_build_alias_value=$build_alias
688 ac_cv_env_build_alias_set=${build_alias+set}
689 ac_cv_env_build_alias_value=$build_alias
690 ac_env_host_alias_set=${host_alias+set}
691 ac_env_host_alias_value=$host_alias
692 ac_cv_env_host_alias_set=${host_alias+set}
693 ac_cv_env_host_alias_value=$host_alias
694 ac_env_target_alias_set=${target_alias+set}
695 ac_env_target_alias_value=$target_alias
696 ac_cv_env_target_alias_set=${target_alias+set}
697 ac_cv_env_target_alias_value=$target_alias
698 ac_env_CC_set=${CC+set}
700 ac_cv_env_CC_set=${CC+set}
701 ac_cv_env_CC_value=$CC
702 ac_env_CFLAGS_set=${CFLAGS+set}
703 ac_env_CFLAGS_value=$CFLAGS
704 ac_cv_env_CFLAGS_set=${CFLAGS+set}
705 ac_cv_env_CFLAGS_value=$CFLAGS
706 ac_env_LDFLAGS_set=${LDFLAGS+set}
707 ac_env_LDFLAGS_value=$LDFLAGS
708 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
709 ac_cv_env_LDFLAGS_value=$LDFLAGS
710 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
711 ac_env_CPPFLAGS_value=$CPPFLAGS
712 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
713 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
714 ac_env_CPP_set=${CPP+set}
715 ac_env_CPP_value=$CPP
716 ac_cv_env_CPP_set=${CPP+set}
717 ac_cv_env_CPP_value=$CPP
720 # Report the --help message.
722 if test "$ac_init_help" = "long"; then
723 # Omit some internal or obsolete options to make the list less imposing.
724 # This message is too long to be a string in the A/UX 3.1 sh.
726 \`configure' configures this package to adapt to many kinds of systems.
728 Usage: $0 [OPTION]... [VAR=VALUE]...
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE. See below for descriptions of some of the useful variables.
733 Defaults for the options are specified in brackets.
736 -h, --help display this help and exit
737 --help=short display options specific to this package
738 --help=recursive display the short help of all the included packages
739 -V, --version display version information and exit
740 -q, --quiet, --silent do not print \`checking...' messages
741 --cache-file=FILE cache test results in FILE [disabled]
742 -C, --config-cache alias for \`--cache-file=config.cache'
743 -n, --no-create do not create output files
744 --srcdir=DIR find the sources in DIR [configure dir or \`..']
749 Installation directories:
750 --prefix=PREFIX install architecture-independent files in PREFIX
752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
760 For better control, use the options below.
762 Fine tuning of the installation directories:
763 --bindir=DIR user executables [EPREFIX/bin]
764 --sbindir=DIR system admin executables [EPREFIX/sbin]
765 --libexecdir=DIR program executables [EPREFIX/libexec]
766 --datadir=DIR read-only architecture-independent data [PREFIX/share]
767 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
768 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
769 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
770 --libdir=DIR object code libraries [EPREFIX/lib]
771 --includedir=DIR C header files [PREFIX/include]
772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
773 --infodir=DIR info documentation [PREFIX/info]
774 --mandir=DIR man documentation [PREFIX/man]
780 --program-prefix=PREFIX prepend PREFIX to installed program names
781 --program-suffix=SUFFIX append SUFFIX to installed program names
782 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
786 if test -n "$ac_init_help"; then
791 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
792 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
793 --enable-maintainer-mode enable make rules and dependencies not useful
794 (and sometimes confusing) to the casual installer
795 --disable-dependency-tracking Speeds up one-time builds
796 --enable-dependency-tracking Do not reject slow dependency extractors
798 Some influential environment variables:
799 CC C compiler command
800 CFLAGS C compiler flags
801 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
802 nonstandard directory <lib dir>
803 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
804 headers in a nonstandard directory <include dir>
807 Use these variables to override the choices made by `configure' or to help
808 it to find libraries and programs with nonstandard names/locations.
813 if test "$ac_init_help" = "recursive"; then
814 # If there are subdirs, report their specific --help.
816 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
817 test -d $ac_dir || continue
820 if test "$ac_dir" != .; then
821 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
822 # A "../" for each directory in $ac_dir_suffix.
823 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
825 ac_dir_suffix= ac_top_builddir=
829 .) # No --srcdir option. We are building in place.
831 if test -z "$ac_top_builddir"; then
834 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
836 [\\/]* | ?:[\\/]* ) # Absolute path.
837 ac_srcdir=$srcdir$ac_dir_suffix;
838 ac_top_srcdir=$srcdir ;;
840 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
841 ac_top_srcdir=$ac_top_builddir$srcdir ;;
843 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
845 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
846 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
847 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
848 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
851 # Check for guested configure; otherwise get Cygnus style configure.
852 if test -f $ac_srcdir/configure.gnu; then
854 $SHELL $ac_srcdir/configure.gnu --help=recursive
855 elif test -f $ac_srcdir/configure; then
857 $SHELL $ac_srcdir/configure --help=recursive
858 elif test -f $ac_srcdir/configure.ac ||
859 test -f $ac_srcdir/configure.in; then
863 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
869 test -n "$ac_init_help" && exit 0
870 if $ac_init_version; then
873 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
874 Free Software Foundation, Inc.
875 This configure script is free software; the Free Software Foundation
876 gives unlimited permission to copy, distribute and modify it.
882 This file contains any messages produced by compilers while
883 running configure, to aid debugging if configure makes a mistake.
885 It was created by $as_me, which was
886 generated by GNU Autoconf 2.53. Invocation command line was
897 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
898 uname -m = `(uname -m) 2>/dev/null || echo unknown`
899 uname -r = `(uname -r) 2>/dev/null || echo unknown`
900 uname -s = `(uname -s) 2>/dev/null || echo unknown`
901 uname -v = `(uname -v) 2>/dev/null || echo unknown`
903 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
904 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
906 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
907 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
908 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
909 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
910 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
911 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
912 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
920 test -z "$as_dir" && as_dir=.
936 # Keep a trace of the command line.
937 # Strip out --no-create and --no-recursion so they do not pile up.
938 # Also quote any args containing shell meta-characters.
944 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945 | --no-cr | --no-c | -n ) continue ;;
946 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
947 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
950 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
952 case " $ac_configure_args " in
953 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
954 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
957 # Get rid of the leading space.
960 # When interrupted or exit'd, cleanup temporary files, and complete
961 # config.log. We remove comments because anyway the quotes in there
962 # would cause problems or look ugly.
963 # WARNING: Be sure not to use single quotes in there, as some shells,
964 # such as our DU 5.0 friend, will then `close' the trap.
966 # Save into config.log some information that might help in debugging.
970 ## ---------------- ##
971 ## Cache variables. ##
972 ## ---------------- ##
975 # The following way of writing the cache mishandles newlines in values,
978 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
981 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
991 if test -s confdefs.h; then
998 sed "/^$/d" confdefs.h
1001 test "$ac_signal" != 0 &&
1002 echo "$as_me: caught signal $ac_signal"
1003 echo "$as_me: exit $exit_status"
1005 rm -f core core.* *.core &&
1006 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1009 for ac_signal in 1 2 13 15; do
1010 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1014 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1015 rm -rf conftest* confdefs.h
1016 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1019 # Predefined preprocessor variables.
1021 cat >>confdefs.h <<_ACEOF
1022 #define PACKAGE_NAME "$PACKAGE_NAME"
1026 cat >>confdefs.h <<_ACEOF
1027 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1031 cat >>confdefs.h <<_ACEOF
1032 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1036 cat >>confdefs.h <<_ACEOF
1037 #define PACKAGE_STRING "$PACKAGE_STRING"
1041 cat >>confdefs.h <<_ACEOF
1042 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1046 # Let the site file select an alternate cache file if it wants to.
1047 # Prefer explicitly selected file to automatically selected ones.
1048 if test -z "$CONFIG_SITE"; then
1049 if test "x$prefix" != xNONE; then
1050 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1052 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1055 for ac_site_file in $CONFIG_SITE; do
1056 if test -r "$ac_site_file"; then
1057 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1058 echo "$as_me: loading site script $ac_site_file" >&6;}
1059 sed 's/^/| /' "$ac_site_file" >&5
1064 if test -r "$cache_file"; then
1065 # Some versions of bash will fail to source /dev/null (special
1066 # files actually), so we avoid doing that.
1067 if test -f "$cache_file"; then
1068 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1069 echo "$as_me: loading cache $cache_file" >&6;}
1071 [\\/]* | ?:[\\/]* ) . $cache_file;;
1072 *) . ./$cache_file;;
1076 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1077 echo "$as_me: creating cache $cache_file" >&6;}
1081 # Check that the precious variables saved in the cache have kept the same
1083 ac_cache_corrupted=false
1084 for ac_var in `(set) 2>&1 |
1085 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1086 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1087 eval ac_new_set=\$ac_env_${ac_var}_set
1088 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1089 eval ac_new_val="\$ac_env_${ac_var}_value"
1090 case $ac_old_set,$ac_new_set in
1092 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1093 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1094 ac_cache_corrupted=: ;;
1096 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1097 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1098 ac_cache_corrupted=: ;;
1101 if test "x$ac_old_val" != "x$ac_new_val"; then
1102 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1103 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1104 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1105 echo "$as_me: former value: $ac_old_val" >&2;}
1106 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1107 echo "$as_me: current value: $ac_new_val" >&2;}
1108 ac_cache_corrupted=:
1111 # Pass precious variables to config.status.
1112 if test "$ac_new_set" = set; then
1114 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1115 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1116 *) ac_arg=$ac_var=$ac_new_val ;;
1118 case " $ac_configure_args " in
1119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1120 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1124 if $ac_cache_corrupted; then
1125 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1126 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1127 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1128 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1129 { (exit 1); exit 1; }; }
1133 ac_cpp='$CPP $CPPFLAGS'
1134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1155 # Add the stamp file to the list of files AC keeps track of,
1156 # along with our hook.
1157 ac_config_headers="$ac_config_headers config.h"
1161 am__api_version="1.6"
1163 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1164 if test -f $ac_dir/install-sh; then
1166 ac_install_sh="$ac_aux_dir/install-sh -c"
1168 elif test -f $ac_dir/install.sh; then
1170 ac_install_sh="$ac_aux_dir/install.sh -c"
1172 elif test -f $ac_dir/shtool; then
1174 ac_install_sh="$ac_aux_dir/shtool install -c"
1178 if test -z "$ac_aux_dir"; then
1179 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1180 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1181 { (exit 1); exit 1; }; }
1183 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1184 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1185 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1187 # Find a good install program. We prefer a C program (faster),
1188 # so one script is as good as another. But avoid the broken or
1189 # incompatible versions:
1190 # SysV /etc/install, /usr/sbin/install
1191 # SunOS /usr/etc/install
1192 # IRIX /sbin/install
1194 # AmigaOS /C/install, which installs bootblocks on floppy discs
1195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1198 # ./install, which can be erroneously created by make from ./install.sh.
1199 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1200 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1201 if test -z "$INSTALL"; then
1202 if test "${ac_cv_path_install+set}" = set; then
1203 echo $ECHO_N "(cached) $ECHO_C" >&6
1205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1209 test -z "$as_dir" && as_dir=.
1210 # Account for people who put trailing slashes in PATH elements.
1212 ./ | .// | /cC/* | \
1213 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1216 # OSF1 and SCO ODT 3.0 have their own names for install.
1217 # Don't use installbsd from OSF since it installs stuff as root
1219 for ac_prog in ginstall scoinst install; do
1220 for ac_exec_ext in '' $ac_executable_extensions; do
1221 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1222 if test $ac_prog = install &&
1223 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1224 # AIX install. It has an incompatible calling convention.
1226 elif test $ac_prog = install &&
1227 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1228 # program-specific install script used by HP pwplus--don't use.
1231 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1243 if test "${ac_cv_path_install+set}" = set; then
1244 INSTALL=$ac_cv_path_install
1246 # As a last resort, use the slow shell script. We don't cache a
1247 # path for INSTALL within a source directory, because that will
1248 # break other packages using the cache if that directory is
1249 # removed, or if the path is relative.
1250 INSTALL=$ac_install_sh
1253 echo "$as_me:$LINENO: result: $INSTALL" >&5
1254 echo "${ECHO_T}$INSTALL" >&6
1256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1257 # It thinks the first close brace ends the variable substitution.
1258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1264 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1265 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1268 echo timestamp > conftest.file
1269 # Do `set' in a subshell so we don't clobber the current shell's
1270 # arguments. Must try -L first in case configure is actually a
1271 # symlink; some systems play weird games with the mod time of symlinks
1272 # (eg FreeBSD returns the mod time of the symlink's containing
1275 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1276 if test "$*" = "X"; then
1278 set X `ls -t $srcdir/configure conftest.file`
1281 if test "$*" != "X $srcdir/configure conftest.file" \
1282 && test "$*" != "X conftest.file $srcdir/configure"; then
1284 # If neither matched, then we have a broken ls. This can happen
1285 # if, for instance, CONFIG_SHELL is bash and it inherits a
1286 # broken ls alias from the environment. This has actually
1287 # happened. Such a system could not be considered "sane".
1288 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1289 alias in your environment" >&5
1290 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1291 alias in your environment" >&2;}
1292 { (exit 1); exit 1; }; }
1295 test "$2" = conftest.file
1301 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1302 Check your system clock" >&5
1303 echo "$as_me: error: newly created file is older than distributed files!
1304 Check your system clock" >&2;}
1305 { (exit 1); exit 1; }; }
1307 echo "$as_me:$LINENO: result: yes" >&5
1308 echo "${ECHO_T}yes" >&6
1309 test "$program_prefix" != NONE &&
1310 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1311 # Use a double $ so make ignores it.
1312 test "$program_suffix" != NONE &&
1313 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1314 # Double any \ or $. echo might interpret backslashes.
1315 # By default was `s,x,x', remove it if useless.
1316 cat <<\_ACEOF >conftest.sed
1317 s/[\\$]/&&/g;s/;s,x,x,$//
1319 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1323 # expand $ac_aux_dir to an absolute path
1324 am_aux_dir=`cd $ac_aux_dir && pwd`
1326 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1327 # Use eval to expand $SHELL
1328 if eval "$MISSING --run true"; then
1329 am_missing_run="$MISSING --run "
1332 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1333 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1336 for ac_prog in gawk mawk nawk awk
1338 # Extract the first word of "$ac_prog", so it can be a program name with args.
1339 set dummy $ac_prog; ac_word=$2
1340 echo "$as_me:$LINENO: checking for $ac_word" >&5
1341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1342 if test "${ac_cv_prog_AWK+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 if test -n "$AWK"; then
1346 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352 test -z "$as_dir" && as_dir=.
1353 for ac_exec_ext in '' $ac_executable_extensions; do
1354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1355 ac_cv_prog_AWK="$ac_prog"
1356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365 if test -n "$AWK"; then
1366 echo "$as_me:$LINENO: result: $AWK" >&5
1367 echo "${ECHO_T}$AWK" >&6
1369 echo "$as_me:$LINENO: result: no" >&5
1370 echo "${ECHO_T}no" >&6
1373 test -n "$AWK" && break
1376 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1377 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1378 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1379 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 cat >conftest.make <<\_ACEOF
1384 @echo 'ac_maketemp="${MAKE}"'
1386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1387 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1388 if test -n "$ac_maketemp"; then
1389 eval ac_cv_prog_make_${ac_make}_set=yes
1391 eval ac_cv_prog_make_${ac_make}_set=no
1395 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1396 echo "$as_me:$LINENO: result: yes" >&5
1397 echo "${ECHO_T}yes" >&6
1400 echo "$as_me:$LINENO: result: no" >&5
1401 echo "${ECHO_T}no" >&6
1402 SET_MAKE="MAKE=${MAKE-make}"
1405 # test to see if srcdir already configured
1406 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1407 test -f $srcdir/config.status; then
1408 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1409 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1410 { (exit 1); exit 1; }; }
1413 # Define the identity of the package.
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE "$PACKAGE"
1423 cat >>confdefs.h <<_ACEOF
1424 #define VERSION "$VERSION"
1427 # Some tools Automake needs.
1429 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1432 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1435 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1438 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1441 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1444 AMTAR=${AMTAR-"${am_missing_run}tar"}
1446 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1448 # Installed binaries are usually stripped using `strip' when the user
1449 # run `make install-strip'. However `strip' might not be the right
1450 # tool to use in cross-compilation environments, therefore Automake
1451 # will honor the `STRIP' environment variable to overrule this program.
1452 if test "$cross_compiling" != no; then
1453 if test -n "$ac_tool_prefix"; then
1454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1455 set dummy ${ac_tool_prefix}strip; ac_word=$2
1456 echo "$as_me:$LINENO: checking for $ac_word" >&5
1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1458 if test "${ac_cv_prog_STRIP+set}" = set; then
1459 echo $ECHO_N "(cached) $ECHO_C" >&6
1461 if test -n "$STRIP"; then
1462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir=.
1469 for ac_exec_ext in '' $ac_executable_extensions; do
1470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480 STRIP=$ac_cv_prog_STRIP
1481 if test -n "$STRIP"; then
1482 echo "$as_me:$LINENO: result: $STRIP" >&5
1483 echo "${ECHO_T}$STRIP" >&6
1485 echo "$as_me:$LINENO: result: no" >&5
1486 echo "${ECHO_T}no" >&6
1490 if test -z "$ac_cv_prog_STRIP"; then
1492 # Extract the first word of "strip", so it can be a program name with args.
1493 set dummy strip; ac_word=$2
1494 echo "$as_me:$LINENO: checking for $ac_word" >&5
1495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 if test -n "$ac_ct_STRIP"; then
1500 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir=.
1507 for ac_exec_ext in '' $ac_executable_extensions; do
1508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1509 ac_cv_prog_ac_ct_STRIP="strip"
1510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1516 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1519 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1520 if test -n "$ac_ct_STRIP"; then
1521 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1522 echo "${ECHO_T}$ac_ct_STRIP" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1530 STRIP="$ac_cv_prog_STRIP"
1534 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1536 # We need awk for the "check" target. The system "awk" is bad on
1541 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1542 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1543 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1544 if test "${enable_maintainer_mode+set}" = set; then
1545 enableval="$enable_maintainer_mode"
1546 USE_MAINTAINER_MODE=$enableval
1548 USE_MAINTAINER_MODE=no
1550 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1551 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1554 if test $USE_MAINTAINER_MODE = yes; then
1555 MAINTAINER_MODE_TRUE=
1556 MAINTAINER_MODE_FALSE='#'
1558 MAINTAINER_MODE_TRUE='#'
1559 MAINTAINER_MODE_FALSE=
1562 MAINT=$MAINTAINER_MODE_TRUE
1568 if test -f ../NOINST_GOB ; then
1571 echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
1572 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1573 SUBDIRS="src examples"
1578 SUBDIRS="src examples doc"
1584 rm -f .deps 2>/dev/null
1585 mkdir .deps 2>/dev/null
1586 if test -d .deps; then
1589 # MS-DOS does not allow filenames that begin with a dot.
1592 rmdir .deps 2>/dev/null
1595 ac_config_commands="$ac_config_commands depfiles"
1598 am_make=${MAKE-make}
1599 cat > confinc << 'END'
1603 # If we don't find an include directive, just comment out the code.
1604 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1605 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1609 # First try GNU make style include.
1610 echo "include confinc" > confmf
1611 # We grep out `Entering directory' and `Leaving directory'
1612 # messages which can occur if `w' ends up in MAKEFLAGS.
1613 # In particular we don't look at `^make:' because GNU make might
1614 # be invoked under some other name (usually "gmake"), in which
1615 # case it prints its new name instead of `make'.
1616 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1621 # Now try BSD make style include.
1622 if test "$am__include" = "#"; then
1623 echo '.include "confinc"' > confmf
1624 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1625 am__include=.include
1632 echo "$as_me:$LINENO: result: $_am_result" >&5
1633 echo "${ECHO_T}$_am_result" >&6
1634 rm -f confinc confmf
1636 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1637 if test "${enable_dependency_tracking+set}" = set; then
1638 enableval="$enable_dependency_tracking"
1641 if test "x$enable_dependency_tracking" != xno; then
1642 am_depcomp="$ac_aux_dir/depcomp"
1647 if test "x$enable_dependency_tracking" != xno; then
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662 if test -n "$ac_tool_prefix"; then
1663 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1664 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667 if test "${ac_cv_prog_CC+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 if test -n "$CC"; then
1671 ac_cv_prog_CC="$CC" # Let the user override the test.
1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir=.
1678 for ac_exec_ext in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1690 if test -n "$CC"; then
1691 echo "$as_me:$LINENO: result: $CC" >&5
1692 echo "${ECHO_T}$CC" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1699 if test -z "$ac_cv_prog_CC"; then
1701 # Extract the first word of "gcc", so it can be a program name with args.
1702 set dummy gcc; ac_word=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 if test -n "$ac_ct_CC"; then
1709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_CC="gcc"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1728 if test -n "$ac_ct_CC"; then
1729 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1730 echo "${ECHO_T}$ac_ct_CC" >&6
1732 echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6
1741 if test -z "$CC"; then
1742 if test -n "$ac_tool_prefix"; then
1743 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1744 set dummy ${ac_tool_prefix}cc; ac_word=$2
1745 echo "$as_me:$LINENO: checking for $ac_word" >&5
1746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1747 if test "${ac_cv_prog_CC+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 if test -n "$CC"; then
1751 ac_cv_prog_CC="$CC" # Let the user override the test.
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir=.
1758 for ac_exec_ext in '' $ac_executable_extensions; do
1759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1760 ac_cv_prog_CC="${ac_tool_prefix}cc"
1761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 if test -n "$CC"; then
1771 echo "$as_me:$LINENO: result: $CC" >&5
1772 echo "${ECHO_T}$CC" >&6
1774 echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1779 if test -z "$ac_cv_prog_CC"; then
1781 # Extract the first word of "cc", so it can be a program name with args.
1782 set dummy cc; ac_word=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1788 if test -n "$ac_ct_CC"; then
1789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1798 ac_cv_prog_ac_ct_CC="cc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1808 if test -n "$ac_ct_CC"; then
1809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1810 echo "${ECHO_T}$ac_ct_CC" >&6
1812 echo "$as_me:$LINENO: result: no" >&5
1813 echo "${ECHO_T}no" >&6
1822 if test -z "$CC"; then
1823 # Extract the first word of "cc", so it can be a program name with args.
1824 set dummy cc; ac_word=$2
1825 echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if test "${ac_cv_prog_CC+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 if test -n "$CC"; then
1831 ac_cv_prog_CC="$CC" # Let the user override the test.
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir=.
1839 for ac_exec_ext in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1842 ac_prog_rejected=yes
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test $ac_prog_rejected = yes; then
1853 # We found a bogon in the path, so make sure we never use it.
1854 set dummy $ac_cv_prog_CC
1856 if test $# != 0; then
1857 # We chose a different compiler from the bogus one.
1858 # However, it has the same basename, so the bogon will be chosen
1859 # first if we set CC to just the basename; use the full file name.
1861 set dummy "$as_dir/$ac_word" ${1+"$@"}
1869 if test -n "$CC"; then
1870 echo "$as_me:$LINENO: result: $CC" >&5
1871 echo "${ECHO_T}$CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$CC"; then
1879 if test -n "$ac_tool_prefix"; then
1882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1884 echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886 if test "${ac_cv_prog_CC+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 if test -n "$CC"; then
1890 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 if test -n "$CC"; then
1910 echo "$as_me:$LINENO: result: $CC" >&5
1911 echo "${ECHO_T}$CC" >&6
1913 echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1917 test -n "$CC" && break
1920 if test -z "$CC"; then
1924 # Extract the first word of "$ac_prog", so it can be a program name with args.
1925 set dummy $ac_prog; ac_word=$2
1926 echo "$as_me:$LINENO: checking for $ac_word" >&5
1927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 if test -n "$ac_ct_CC"; then
1932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 test -z "$as_dir" && as_dir=.
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941 ac_cv_prog_ac_ct_CC="$ac_prog"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1951 if test -n "$ac_ct_CC"; then
1952 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1953 echo "${ECHO_T}$ac_ct_CC" >&6
1955 echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6
1959 test -n "$ac_ct_CC" && break
1968 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1969 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1970 { (exit 1); exit 1; }; }
1972 # Provide some information about the compiler.
1973 echo "$as_me:$LINENO:" \
1974 "checking for C compiler version" >&5
1975 ac_compiler=`set X $ac_compile; echo $2`
1976 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1977 (eval $ac_compiler --version </dev/null >&5) 2>&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }
1981 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1982 (eval $ac_compiler -v </dev/null >&5) 2>&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }
1986 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1987 (eval $ac_compiler -V </dev/null >&5) 2>&5
1989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990 (exit $ac_status); }
1992 cat >conftest.$ac_ext <<_ACEOF
1993 #line $LINENO "configure"
1994 #include "confdefs.h"
1996 #ifdef F77_DUMMY_MAIN
2000 int F77_DUMMY_MAIN() { return 1; }
2010 ac_clean_files_save=$ac_clean_files
2011 ac_clean_files="$ac_clean_files a.out a.exe"
2012 # Try to create an executable without -o first, disregard a.out.
2013 # It will help us diagnose broken compilers, and finding out an intuition
2015 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2016 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2017 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2018 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2019 (eval $ac_link_default) 2>&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; then
2023 # Find the output, starting from the most likely. This scheme is
2024 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2027 # Be careful to initialize this variable, since it used to be cached.
2028 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2030 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2031 ls a.out conftest 2>/dev/null;
2032 ls a.* conftest.* 2>/dev/null`; do
2034 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2035 a.out ) # We found the default executable, but exeext='' is most
2038 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2039 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2046 echo "$as_me: failed program was:" >&5
2047 cat conftest.$ac_ext >&5
2048 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2049 echo "$as_me: error: C compiler cannot create executables" >&2;}
2050 { (exit 77); exit 77; }; }
2053 ac_exeext=$ac_cv_exeext
2054 echo "$as_me:$LINENO: result: $ac_file" >&5
2055 echo "${ECHO_T}$ac_file" >&6
2057 # Check the compiler produces executables we can run. If not, either
2058 # the compiler is broken, or we cross compile.
2059 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2060 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2061 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2062 # If not cross compiling, check that we can run a simple program.
2063 if test "$cross_compiling" != yes; then
2064 if { ac_try='./$ac_file'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; }; then
2072 if test "$cross_compiling" = maybe; then
2075 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2076 If you meant to cross compile, use \`--host'." >&5
2077 echo "$as_me: error: cannot run C compiled programs.
2078 If you meant to cross compile, use \`--host'." >&2;}
2079 { (exit 1); exit 1; }; }
2083 echo "$as_me:$LINENO: result: yes" >&5
2084 echo "${ECHO_T}yes" >&6
2086 rm -f a.out a.exe conftest$ac_cv_exeext
2087 ac_clean_files=$ac_clean_files_save
2088 # Check the compiler produces executables we can run. If not, either
2089 # the compiler is broken, or we cross compile.
2090 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2091 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2092 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2093 echo "${ECHO_T}$cross_compiling" >&6
2095 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2096 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2098 (eval $ac_link) 2>&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; then
2102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2103 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2104 # work properly (i.e., refer to `conftest.exe'), while it won't with
2106 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2108 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2109 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2116 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2117 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2118 { (exit 1); exit 1; }; }
2121 rm -f conftest$ac_cv_exeext
2122 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2123 echo "${ECHO_T}$ac_cv_exeext" >&6
2125 rm -f conftest.$ac_ext
2126 EXEEXT=$ac_cv_exeext
2128 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2129 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2130 if test "${ac_cv_objext+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 cat >conftest.$ac_ext <<_ACEOF
2134 #line $LINENO "configure"
2135 #include "confdefs.h"
2137 #ifdef F77_DUMMY_MAIN
2141 int F77_DUMMY_MAIN() { return 1; }
2151 rm -f conftest.o conftest.obj
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; then
2157 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2165 echo "$as_me: failed program was:" >&5
2166 cat conftest.$ac_ext >&5
2167 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2168 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2169 { (exit 1); exit 1; }; }
2172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2174 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2175 echo "${ECHO_T}$ac_cv_objext" >&6
2176 OBJEXT=$ac_cv_objext
2178 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2179 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2180 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 cat >conftest.$ac_ext <<_ACEOF
2184 #line $LINENO "configure"
2185 #include "confdefs.h"
2187 #ifdef F77_DUMMY_MAIN
2191 int F77_DUMMY_MAIN() { return 1; }
2204 rm -f conftest.$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206 (eval $ac_compile) 2>&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); } &&
2210 { ac_try='test -s conftest.$ac_objext'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; }; then
2218 echo "$as_me: failed program was:" >&5
2219 cat conftest.$ac_ext >&5
2222 rm -f conftest.$ac_objext conftest.$ac_ext
2223 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2226 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2227 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2228 GCC=`test $ac_compiler_gnu = yes && echo yes`
2229 ac_test_CFLAGS=${CFLAGS+set}
2230 ac_save_CFLAGS=$CFLAGS
2232 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2233 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2234 if test "${ac_cv_prog_cc_g+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 cat >conftest.$ac_ext <<_ACEOF
2238 #line $LINENO "configure"
2239 #include "confdefs.h"
2241 #ifdef F77_DUMMY_MAIN
2245 int F77_DUMMY_MAIN() { return 1; }
2255 rm -f conftest.$ac_objext
2256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2257 (eval $ac_compile) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); } &&
2261 { ac_try='test -s conftest.$ac_objext'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; }; then
2269 echo "$as_me: failed program was:" >&5
2270 cat conftest.$ac_ext >&5
2273 rm -f conftest.$ac_objext conftest.$ac_ext
2275 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2276 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2277 if test "$ac_test_CFLAGS" = set; then
2278 CFLAGS=$ac_save_CFLAGS
2279 elif test $ac_cv_prog_cc_g = yes; then
2280 if test "$GCC" = yes; then
2286 if test "$GCC" = yes; then
2292 # Some people use a C++ compiler to compile C. Since we use `exit',
2293 # in C++ we need to declare it. In case someone uses the same compiler
2294 # for both compiling C and C++ we need to have the C++ compiler decide
2295 # the declaration of exit, since it's the most demanding environment.
2296 cat >conftest.$ac_ext <<_ACEOF
2301 rm -f conftest.$ac_objext
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } &&
2307 { ac_try='test -s conftest.$ac_objext'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2313 for ac_declaration in \
2315 '#include <stdlib.h>' \
2316 'extern "C" void std::exit (int) throw (); using std::exit;' \
2317 'extern "C" void std::exit (int); using std::exit;' \
2318 'extern "C" void exit (int) throw ();' \
2319 'extern "C" void exit (int);' \
2322 cat >conftest.$ac_ext <<_ACEOF
2323 #line $LINENO "configure"
2324 #include "confdefs.h"
2327 #ifdef F77_DUMMY_MAIN
2331 int F77_DUMMY_MAIN() { return 1; }
2341 rm -f conftest.$ac_objext
2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343 (eval $ac_compile) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); } &&
2347 { ac_try='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 cat conftest.$ac_ext >&5
2359 rm -f conftest.$ac_objext conftest.$ac_ext
2360 cat >conftest.$ac_ext <<_ACEOF
2361 #line $LINENO "configure"
2362 #include "confdefs.h"
2364 #ifdef F77_DUMMY_MAIN
2368 int F77_DUMMY_MAIN() { return 1; }
2378 rm -f conftest.$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try='test -s conftest.$ac_objext'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2392 echo "$as_me: failed program was:" >&5
2393 cat conftest.$ac_ext >&5
2395 rm -f conftest.$ac_objext conftest.$ac_ext
2398 if test -n "$ac_declaration"; then
2399 echo '#ifdef __cplusplus' >>confdefs.h
2400 echo $ac_declaration >>confdefs.h
2401 echo '#endif' >>confdefs.h
2405 echo "$as_me: failed program was:" >&5
2406 cat conftest.$ac_ext >&5
2408 rm -f conftest.$ac_objext conftest.$ac_ext
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415 depcc="$CC" am_compiler_list=
2417 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2418 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2419 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2423 # We make a subdir and do the tests there. Otherwise we can end up
2424 # making bogus files that we don't know about and never remove. For
2425 # instance it was reported that on HP-UX the gcc test will end up
2426 # making a dummy file named `D' -- because `-MD' means `put the output
2429 # Copy depcomp to subdir because otherwise we won't find it if we're
2430 # using a relative directory.
2431 cp "$am_depcomp" conftest.dir
2434 am_cv_CC_dependencies_compiler_type=none
2435 if test "$am_compiler_list" = ""; then
2436 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2438 for depmode in $am_compiler_list; do
2439 # We need to recreate these files for each test, as the compiler may
2440 # overwrite some of them when testing with obscure command lines.
2441 # This happens at least with the AIX C compiler.
2442 echo '#include "conftest.h"' > conftest.c
2443 echo 'int i;' > conftest.h
2444 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2448 # after this tag, mechanisms are not by side-effect, so they'll
2449 # only be used when explicitly requested
2450 if test "x$enable_dependency_tracking" = xyes; then
2458 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2459 # mode. It turns out that the SunPro C++ compiler does not properly
2460 # handle `-M -o', and we need to detect this.
2461 if depmode=$depmode \
2462 source=conftest.c object=conftest.o \
2463 depfile=conftest.Po tmpdepfile=conftest.TPo \
2464 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2465 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2466 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2467 am_cv_CC_dependencies_compiler_type=$depmode
2475 am_cv_CC_dependencies_compiler_type=none
2479 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2480 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2481 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2486 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2487 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2488 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 ac_check_lib_save_LIBS=$LIBS
2492 LIBS="-lcposix $LIBS"
2493 cat >conftest.$ac_ext <<_ACEOF
2494 #line $LINENO "configure"
2495 #include "confdefs.h"
2497 /* Override any gcc2 internal prototype to avoid an error. */
2501 /* We use char because int might match the return type of a gcc2
2502 builtin and then its argument prototype would still apply. */
2504 #ifdef F77_DUMMY_MAIN
2508 int F77_DUMMY_MAIN() { return 1; }
2518 rm -f conftest.$ac_objext conftest$ac_exeext
2519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2520 (eval $ac_link) 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } &&
2524 { ac_try='test -s conftest$ac_exeext'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; }; then
2530 ac_cv_lib_cposix_strerror=yes
2532 echo "$as_me: failed program was:" >&5
2533 cat conftest.$ac_ext >&5
2534 ac_cv_lib_cposix_strerror=no
2536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2537 LIBS=$ac_check_lib_save_LIBS
2539 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2540 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2541 if test $ac_cv_lib_cposix_strerror = yes; then
2542 LIBS="$LIBS -lcposix"
2548 ac_cpp='$CPP $CPPFLAGS'
2549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2552 if test -n "$ac_tool_prefix"; then
2553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2554 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2555 echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2557 if test "${ac_cv_prog_CC+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$CC"; then
2561 ac_cv_prog_CC="$CC" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$CC"; then
2581 echo "$as_me:$LINENO: result: $CC" >&5
2582 echo "${ECHO_T}$CC" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2589 if test -z "$ac_cv_prog_CC"; then
2591 # Extract the first word of "gcc", so it can be a program name with args.
2592 set dummy gcc; ac_word=$2
2593 echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 ac_cv_prog_ac_ct_CC="gcc"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2618 if test -n "$ac_ct_CC"; then
2619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2620 echo "${ECHO_T}$ac_ct_CC" >&6
2622 echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2631 if test -z "$CC"; then
2632 if test -n "$ac_tool_prefix"; then
2633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2634 set dummy ${ac_tool_prefix}cc; ac_word=$2
2635 echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2637 if test "${ac_cv_prog_CC+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$CC"; then
2641 ac_cv_prog_CC="$CC" # Let the user override the test.
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2650 ac_cv_prog_CC="${ac_tool_prefix}cc"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 echo "$as_me:$LINENO: result: $CC" >&5
2662 echo "${ECHO_T}$CC" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2669 if test -z "$ac_cv_prog_CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 if test -n "$ac_ct_CC"; then
2679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688 ac_cv_prog_ac_ct_CC="cc"
2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2698 if test -n "$ac_ct_CC"; then
2699 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2700 echo "${ECHO_T}$ac_ct_CC" >&6
2702 echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6
2712 if test -z "$CC"; then
2713 # Extract the first word of "cc", so it can be a program name with args.
2714 set dummy cc; ac_word=$2
2715 echo "$as_me:$LINENO: checking for $ac_word" >&5
2716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2717 if test "${ac_cv_prog_CC+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 if test -n "$CC"; then
2721 ac_cv_prog_CC="$CC" # Let the user override the test.
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2732 ac_prog_rejected=yes
2736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 if test $ac_prog_rejected = yes; then
2743 # We found a bogon in the path, so make sure we never use it.
2744 set dummy $ac_cv_prog_CC
2746 if test $# != 0; then
2747 # We chose a different compiler from the bogus one.
2748 # However, it has the same basename, so the bogon will be chosen
2749 # first if we set CC to just the basename; use the full file name.
2751 set dummy "$as_dir/$ac_word" ${1+"$@"}
2759 if test -n "$CC"; then
2760 echo "$as_me:$LINENO: result: $CC" >&5
2761 echo "${ECHO_T}$CC" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2768 if test -z "$CC"; then
2769 if test -n "$ac_tool_prefix"; then
2772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2774 echo "$as_me:$LINENO: checking for $ac_word" >&5
2775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2776 if test "${ac_cv_prog_CC+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 if test -n "$CC"; then
2780 ac_cv_prog_CC="$CC" # Let the user override the test.
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2789 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$CC"; then
2800 echo "$as_me:$LINENO: result: $CC" >&5
2801 echo "${ECHO_T}$CC" >&6
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2807 test -n "$CC" && break
2810 if test -z "$CC"; then
2814 # Extract the first word of "$ac_prog", so it can be a program name with args.
2815 set dummy $ac_prog; ac_word=$2
2816 echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -n "$ac_ct_CC"; then
2822 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_ac_ct_CC="$ac_prog"
2832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2841 if test -n "$ac_ct_CC"; then
2842 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2843 echo "${ECHO_T}$ac_ct_CC" >&6
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2849 test -n "$ac_ct_CC" && break
2858 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2859 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2860 { (exit 1); exit 1; }; }
2862 # Provide some information about the compiler.
2863 echo "$as_me:$LINENO:" \
2864 "checking for C compiler version" >&5
2865 ac_compiler=`set X $ac_compile; echo $2`
2866 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2867 (eval $ac_compiler --version </dev/null >&5) 2>&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }
2871 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2872 (eval $ac_compiler -v </dev/null >&5) 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }
2876 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2877 (eval $ac_compiler -V </dev/null >&5) 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }
2882 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2883 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2884 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 cat >conftest.$ac_ext <<_ACEOF
2888 #line $LINENO "configure"
2889 #include "confdefs.h"
2891 #ifdef F77_DUMMY_MAIN
2895 int F77_DUMMY_MAIN() { return 1; }
2908 rm -f conftest.$ac_objext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910 (eval $ac_compile) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try='test -s conftest.$ac_objext'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2922 echo "$as_me: failed program was:" >&5
2923 cat conftest.$ac_ext >&5
2926 rm -f conftest.$ac_objext conftest.$ac_ext
2927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2930 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2931 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2932 GCC=`test $ac_compiler_gnu = yes && echo yes`
2933 ac_test_CFLAGS=${CFLAGS+set}
2934 ac_save_CFLAGS=$CFLAGS
2936 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2937 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2938 if test "${ac_cv_prog_cc_g+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 cat >conftest.$ac_ext <<_ACEOF
2942 #line $LINENO "configure"
2943 #include "confdefs.h"
2945 #ifdef F77_DUMMY_MAIN
2949 int F77_DUMMY_MAIN() { return 1; }
2959 rm -f conftest.$ac_objext
2960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961 (eval $ac_compile) 2>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } &&
2965 { ac_try='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: failed program was:" >&5
2974 cat conftest.$ac_ext >&5
2977 rm -f conftest.$ac_objext conftest.$ac_ext
2979 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2980 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2981 if test "$ac_test_CFLAGS" = set; then
2982 CFLAGS=$ac_save_CFLAGS
2983 elif test $ac_cv_prog_cc_g = yes; then
2984 if test "$GCC" = yes; then
2990 if test "$GCC" = yes; then
2996 # Some people use a C++ compiler to compile C. Since we use `exit',
2997 # in C++ we need to declare it. In case someone uses the same compiler
2998 # for both compiling C and C++ we need to have the C++ compiler decide
2999 # the declaration of exit, since it's the most demanding environment.
3000 cat >conftest.$ac_ext <<_ACEOF
3005 rm -f conftest.$ac_objext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007 (eval $ac_compile) 2>&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); } &&
3011 { ac_try='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 for ac_declaration in \
3019 '#include <stdlib.h>' \
3020 'extern "C" void std::exit (int) throw (); using std::exit;' \
3021 'extern "C" void std::exit (int); using std::exit;' \
3022 'extern "C" void exit (int) throw ();' \
3023 'extern "C" void exit (int);' \
3026 cat >conftest.$ac_ext <<_ACEOF
3027 #line $LINENO "configure"
3028 #include "confdefs.h"
3031 #ifdef F77_DUMMY_MAIN
3035 int F77_DUMMY_MAIN() { return 1; }
3045 rm -f conftest.$ac_objext
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 (eval $ac_compile) 2>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3059 echo "$as_me: failed program was:" >&5
3060 cat conftest.$ac_ext >&5
3063 rm -f conftest.$ac_objext conftest.$ac_ext
3064 cat >conftest.$ac_ext <<_ACEOF
3065 #line $LINENO "configure"
3066 #include "confdefs.h"
3068 #ifdef F77_DUMMY_MAIN
3072 int F77_DUMMY_MAIN() { return 1; }
3082 rm -f conftest.$ac_objext
3083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084 (eval $ac_compile) 2>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } &&
3088 { ac_try='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3096 echo "$as_me: failed program was:" >&5
3097 cat conftest.$ac_ext >&5
3099 rm -f conftest.$ac_objext conftest.$ac_ext
3102 if test -n "$ac_declaration"; then
3103 echo '#ifdef __cplusplus' >>confdefs.h
3104 echo $ac_declaration >>confdefs.h
3105 echo '#endif' >>confdefs.h
3109 echo "$as_me: failed program was:" >&5
3110 cat conftest.$ac_ext >&5
3112 rm -f conftest.$ac_objext conftest.$ac_ext
3114 ac_cpp='$CPP $CPPFLAGS'
3115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 depcc="$CC" am_compiler_list=
3121 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3122 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3123 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3127 # We make a subdir and do the tests there. Otherwise we can end up
3128 # making bogus files that we don't know about and never remove. For
3129 # instance it was reported that on HP-UX the gcc test will end up
3130 # making a dummy file named `D' -- because `-MD' means `put the output
3133 # Copy depcomp to subdir because otherwise we won't find it if we're
3134 # using a relative directory.
3135 cp "$am_depcomp" conftest.dir
3138 am_cv_CC_dependencies_compiler_type=none
3139 if test "$am_compiler_list" = ""; then
3140 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3142 for depmode in $am_compiler_list; do
3143 # We need to recreate these files for each test, as the compiler may
3144 # overwrite some of them when testing with obscure command lines.
3145 # This happens at least with the AIX C compiler.
3146 echo '#include "conftest.h"' > conftest.c
3147 echo 'int i;' > conftest.h
3148 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3152 # after this tag, mechanisms are not by side-effect, so they'll
3153 # only be used when explicitly requested
3154 if test "x$enable_dependency_tracking" = xyes; then
3162 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3163 # mode. It turns out that the SunPro C++ compiler does not properly
3164 # handle `-M -o', and we need to detect this.
3165 if depmode=$depmode \
3166 source=conftest.c object=conftest.o \
3167 depfile=conftest.Po tmpdepfile=conftest.TPo \
3168 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3169 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3171 am_cv_CC_dependencies_compiler_type=$depmode
3179 am_cv_CC_dependencies_compiler_type=none
3183 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3184 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3185 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3189 ac_cpp='$CPP $CPPFLAGS'
3190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3193 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3194 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3195 # On Suns, sometimes $CPP names a directory.
3196 if test -n "$CPP" && test -d "$CPP"; then
3199 if test -z "$CPP"; then
3200 if test "${ac_cv_prog_CPP+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 # Double quotes because CPP needs to be expanded
3204 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3207 for ac_c_preproc_warn_flag in '' yes
3209 # Use a header file that comes with gcc, so configuring glibc
3210 # with a fresh cross-compiler works.
3211 # On the NeXT, cc -E runs the code through the compiler's parser,
3212 # not just through cpp. "Syntax error" is here to catch this case.
3213 cat >conftest.$ac_ext <<_ACEOF
3214 #line $LINENO "configure"
3215 #include "confdefs.h"
3219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3222 egrep -v '^ *\+' conftest.er1 >conftest.err
3224 cat conftest.err >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } >/dev/null; then
3227 if test -s conftest.err; then
3228 ac_cpp_err=$ac_c_preproc_warn_flag
3235 if test -z "$ac_cpp_err"; then
3238 echo "$as_me: failed program was:" >&5
3239 cat conftest.$ac_ext >&5
3240 # Broken: fails on valid input.
3243 rm -f conftest.err conftest.$ac_ext
3245 # OK, works on sane cases. Now check whether non-existent headers
3246 # can be detected and how.
3247 cat >conftest.$ac_ext <<_ACEOF
3248 #line $LINENO "configure"
3249 #include "confdefs.h"
3250 #include <ac_nonexistent.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 egrep -v '^ *\+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3268 if test -z "$ac_cpp_err"; then
3269 # Broken: success on invalid input.
3272 echo "$as_me: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3274 # Passes both tests.
3278 rm -f conftest.err conftest.$ac_ext
3281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3282 rm -f conftest.err conftest.$ac_ext
3283 if $ac_preproc_ok; then
3295 echo "$as_me:$LINENO: result: $CPP" >&5
3296 echo "${ECHO_T}$CPP" >&6
3298 for ac_c_preproc_warn_flag in '' yes
3300 # Use a header file that comes with gcc, so configuring glibc
3301 # with a fresh cross-compiler works.
3302 # On the NeXT, cc -E runs the code through the compiler's parser,
3303 # not just through cpp. "Syntax error" is here to catch this case.
3304 cat >conftest.$ac_ext <<_ACEOF
3305 #line $LINENO "configure"
3306 #include "confdefs.h"
3310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3313 egrep -v '^ *\+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } >/dev/null; then
3318 if test -s conftest.err; then
3319 ac_cpp_err=$ac_c_preproc_warn_flag
3326 if test -z "$ac_cpp_err"; then
3329 echo "$as_me: failed program was:" >&5
3330 cat conftest.$ac_ext >&5
3331 # Broken: fails on valid input.
3334 rm -f conftest.err conftest.$ac_ext
3336 # OK, works on sane cases. Now check whether non-existent headers
3337 # can be detected and how.
3338 cat >conftest.$ac_ext <<_ACEOF
3339 #line $LINENO "configure"
3340 #include "confdefs.h"
3341 #include <ac_nonexistent.h>
3343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3346 egrep -v '^ *\+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } >/dev/null; then
3351 if test -s conftest.err; then
3352 ac_cpp_err=$ac_c_preproc_warn_flag
3359 if test -z "$ac_cpp_err"; then
3360 # Broken: success on invalid input.
3363 echo "$as_me: failed program was:" >&5
3364 cat conftest.$ac_ext >&5
3365 # Passes both tests.
3369 rm -f conftest.err conftest.$ac_ext
3372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3373 rm -f conftest.err conftest.$ac_ext
3374 if $ac_preproc_ok; then
3377 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3378 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3379 { (exit 1); exit 1; }; }
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3391 if test "${ac_cv_header_stdc+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 cat >conftest.$ac_ext <<_ACEOF
3395 #line $LINENO "configure"
3396 #include "confdefs.h"
3403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3406 egrep -v '^ *\+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } >/dev/null; then
3411 if test -s conftest.err; then
3412 ac_cpp_err=$ac_c_preproc_warn_flag
3419 if test -z "$ac_cpp_err"; then
3420 ac_cv_header_stdc=yes
3422 echo "$as_me: failed program was:" >&5
3423 cat conftest.$ac_ext >&5
3424 ac_cv_header_stdc=no
3426 rm -f conftest.err conftest.$ac_ext
3428 if test $ac_cv_header_stdc = yes; then
3429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3430 cat >conftest.$ac_ext <<_ACEOF
3431 #line $LINENO "configure"
3432 #include "confdefs.h"
3436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3437 egrep "memchr" >/dev/null 2>&1; then
3440 ac_cv_header_stdc=no
3446 if test $ac_cv_header_stdc = yes; then
3447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3448 cat >conftest.$ac_ext <<_ACEOF
3449 #line $LINENO "configure"
3450 #include "confdefs.h"
3454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3455 egrep "free" >/dev/null 2>&1; then
3458 ac_cv_header_stdc=no
3464 if test $ac_cv_header_stdc = yes; then
3465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3466 if test "$cross_compiling" = yes; then
3469 cat >conftest.$ac_ext <<_ACEOF
3470 #line $LINENO "configure"
3471 #include "confdefs.h"
3473 #if ((' ' & 0x0FF) == 0x020)
3474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3477 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3478 || ('j' <= (c) && (c) <= 'r') \
3479 || ('s' <= (c) && (c) <= 'z'))
3480 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3483 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3488 for (i = 0; i < 256; i++)
3489 if (XOR (islower (i), ISLOWER (i))
3490 || toupper (i) != TOUPPER (i))
3495 rm -f conftest$ac_exeext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3497 (eval $ac_link) 2>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3508 echo "$as_me: program exited with status $ac_status" >&5
3509 echo "$as_me: failed program was:" >&5
3510 cat conftest.$ac_ext >&5
3512 ac_cv_header_stdc=no
3514 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3518 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3519 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3520 if test $ac_cv_header_stdc = yes; then
3522 cat >>confdefs.h <<\_ACEOF
3523 #define STDC_HEADERS 1
3528 for ac_prog in 'bison -y' byacc
3530 # Extract the first word of "$ac_prog", so it can be a program name with args.
3531 set dummy $ac_prog; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_YACC+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 if test -n "$YACC"; then
3538 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_YACC="$ac_prog"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 YACC=$ac_cv_prog_YACC
3557 if test -n "$YACC"; then
3558 echo "$as_me:$LINENO: result: $YACC" >&5
3559 echo "${ECHO_T}$YACC" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3565 test -n "$YACC" && break
3567 test -n "$YACC" || YACC="yacc"
3569 for ac_prog in flex lex
3571 # Extract the first word of "$ac_prog", so it can be a program name with args.
3572 set dummy $ac_prog; ac_word=$2
3573 echo "$as_me:$LINENO: checking for $ac_word" >&5
3574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3575 if test "${ac_cv_prog_LEX+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 if test -n "$LEX"; then
3579 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_LEX="$ac_prog"
3589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 if test -n "$LEX"; then
3599 echo "$as_me:$LINENO: result: $LEX" >&5
3600 echo "${ECHO_T}$LEX" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 test -n "$LEX" && break
3608 test -n "$LEX" || LEX=":"
3610 if test -z "$LEXLIB"
3612 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3613 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3614 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 ac_check_lib_save_LIBS=$LIBS
3619 cat >conftest.$ac_ext <<_ACEOF
3620 #line $LINENO "configure"
3621 #include "confdefs.h"
3623 /* Override any gcc2 internal prototype to avoid an error. */
3627 /* We use char because int might match the return type of a gcc2
3628 builtin and then its argument prototype would still apply. */
3630 #ifdef F77_DUMMY_MAIN
3634 int F77_DUMMY_MAIN() { return 1; }
3644 rm -f conftest.$ac_objext conftest$ac_exeext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3646 (eval $ac_link) 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -s conftest$ac_exeext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 ac_cv_lib_fl_yywrap=yes
3658 echo "$as_me: failed program was:" >&5
3659 cat conftest.$ac_ext >&5
3660 ac_cv_lib_fl_yywrap=no
3662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3663 LIBS=$ac_check_lib_save_LIBS
3665 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3666 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3667 if test $ac_cv_lib_fl_yywrap = yes; then
3670 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3671 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3672 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 ac_check_lib_save_LIBS=$LIBS
3677 cat >conftest.$ac_ext <<_ACEOF
3678 #line $LINENO "configure"
3679 #include "confdefs.h"
3681 /* Override any gcc2 internal prototype to avoid an error. */
3685 /* We use char because int might match the return type of a gcc2
3686 builtin and then its argument prototype would still apply. */
3688 #ifdef F77_DUMMY_MAIN
3692 int F77_DUMMY_MAIN() { return 1; }
3702 rm -f conftest.$ac_objext conftest$ac_exeext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3704 (eval $ac_link) 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } &&
3708 { ac_try='test -s conftest$ac_exeext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_cv_lib_l_yywrap=yes
3716 echo "$as_me: failed program was:" >&5
3717 cat conftest.$ac_ext >&5
3718 ac_cv_lib_l_yywrap=no
3720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3721 LIBS=$ac_check_lib_save_LIBS
3723 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3724 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3725 if test $ac_cv_lib_l_yywrap = yes; then
3733 if test "x$LEX" != "x:"; then
3734 echo "$as_me:$LINENO: checking lex output file root" >&5
3735 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3736 if test "${ac_cv_prog_lex_root+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 # The minimal lex program is just a single line: %%. But some broken lexes
3740 # (Solaris, I think it was) want two %% lines, so accommodate them.
3741 cat >conftest.l <<_ACEOF
3745 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3746 (eval $LEX conftest.l) 2>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); }
3750 if test -f lex.yy.c; then
3751 ac_cv_prog_lex_root=lex.yy
3752 elif test -f lexyy.c; then
3753 ac_cv_prog_lex_root=lexyy
3755 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3756 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3757 { (exit 1); exit 1; }; }
3760 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3761 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3763 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3765 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3766 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3767 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 # POSIX says lex can declare yytext either as a pointer or an array; the
3771 # default is implementation-dependent. Figure out which it is, since
3772 # not all implementations provide the %pointer and %array declarations.
3773 ac_cv_prog_lex_yytext_pointer=no
3774 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3776 LIBS="$LIBS $LEXLIB"
3777 cat >conftest.$ac_ext <<_ACEOF
3778 `cat $LEX_OUTPUT_ROOT.c`
3780 rm -f conftest.$ac_objext conftest$ac_exeext
3781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3782 (eval $ac_link) 2>&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } &&
3786 { ac_try='test -s conftest$ac_exeext'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3792 ac_cv_prog_lex_yytext_pointer=yes
3794 echo "$as_me: failed program was:" >&5
3795 cat conftest.$ac_ext >&5
3797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3799 rm -f "${LEX_OUTPUT_ROOT}.c"
3802 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3803 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3804 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3806 cat >>confdefs.h <<\_ACEOF
3807 #define YYTEXT_POINTER 1
3813 if test "$LEX" = :; then
3814 LEX=${am_missing_run}flex
3816 # Find a good install program. We prefer a C program (faster),
3817 # so one script is as good as another. But avoid the broken or
3818 # incompatible versions:
3819 # SysV /etc/install, /usr/sbin/install
3820 # SunOS /usr/etc/install
3821 # IRIX /sbin/install
3823 # AmigaOS /C/install, which installs bootblocks on floppy discs
3824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3827 # ./install, which can be erroneously created by make from ./install.sh.
3828 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3829 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3830 if test -z "$INSTALL"; then
3831 if test "${ac_cv_path_install+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir=.
3839 # Account for people who put trailing slashes in PATH elements.
3841 ./ | .// | /cC/* | \
3842 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3845 # OSF1 and SCO ODT 3.0 have their own names for install.
3846 # Don't use installbsd from OSF since it installs stuff as root
3848 for ac_prog in ginstall scoinst install; do
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3851 if test $ac_prog = install &&
3852 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3853 # AIX install. It has an incompatible calling convention.
3855 elif test $ac_prog = install &&
3856 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3857 # program-specific install script used by HP pwplus--don't use.
3860 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3872 if test "${ac_cv_path_install+set}" = set; then
3873 INSTALL=$ac_cv_path_install
3875 # As a last resort, use the slow shell script. We don't cache a
3876 # path for INSTALL within a source directory, because that will
3877 # break other packages using the cache if that directory is
3878 # removed, or if the path is relative.
3879 INSTALL=$ac_install_sh
3882 echo "$as_me:$LINENO: result: $INSTALL" >&5
3883 echo "${ECHO_T}$INSTALL" >&6
3885 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3886 # It thinks the first close brace ends the variable substitution.
3887 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3889 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3891 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3899 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3900 # On Suns, sometimes $CPP names a directory.
3901 if test -n "$CPP" && test -d "$CPP"; then
3904 if test -z "$CPP"; then
3905 if test "${ac_cv_prog_CPP+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 # Double quotes because CPP needs to be expanded
3909 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3912 for ac_c_preproc_warn_flag in '' yes
3914 # Use a header file that comes with gcc, so configuring glibc
3915 # with a fresh cross-compiler works.
3916 # On the NeXT, cc -E runs the code through the compiler's parser,
3917 # not just through cpp. "Syntax error" is here to catch this case.
3918 cat >conftest.$ac_ext <<_ACEOF
3919 #line $LINENO "configure"
3920 #include "confdefs.h"
3924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3927 egrep -v '^ *\+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } >/dev/null; then
3932 if test -s conftest.err; then
3933 ac_cpp_err=$ac_c_preproc_warn_flag
3940 if test -z "$ac_cpp_err"; then
3943 echo "$as_me: failed program was:" >&5
3944 cat conftest.$ac_ext >&5
3945 # Broken: fails on valid input.
3948 rm -f conftest.err conftest.$ac_ext
3950 # OK, works on sane cases. Now check whether non-existent headers
3951 # can be detected and how.
3952 cat >conftest.$ac_ext <<_ACEOF
3953 #line $LINENO "configure"
3954 #include "confdefs.h"
3955 #include <ac_nonexistent.h>
3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3960 egrep -v '^ *\+' conftest.er1 >conftest.err
3962 cat conftest.err >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } >/dev/null; then
3965 if test -s conftest.err; then
3966 ac_cpp_err=$ac_c_preproc_warn_flag
3973 if test -z "$ac_cpp_err"; then
3974 # Broken: success on invalid input.
3977 echo "$as_me: failed program was:" >&5
3978 cat conftest.$ac_ext >&5
3979 # Passes both tests.
3983 rm -f conftest.err conftest.$ac_ext
3986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3987 rm -f conftest.err conftest.$ac_ext
3988 if $ac_preproc_ok; then
4000 echo "$as_me:$LINENO: result: $CPP" >&5
4001 echo "${ECHO_T}$CPP" >&6
4003 for ac_c_preproc_warn_flag in '' yes
4005 # Use a header file that comes with gcc, so configuring glibc
4006 # with a fresh cross-compiler works.
4007 # On the NeXT, cc -E runs the code through the compiler's parser,
4008 # not just through cpp. "Syntax error" is here to catch this case.
4009 cat >conftest.$ac_ext <<_ACEOF
4010 #line $LINENO "configure"
4011 #include "confdefs.h"
4015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4018 egrep -v '^ *\+' conftest.er1 >conftest.err
4020 cat conftest.err >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } >/dev/null; then
4023 if test -s conftest.err; then
4024 ac_cpp_err=$ac_c_preproc_warn_flag
4031 if test -z "$ac_cpp_err"; then
4034 echo "$as_me: failed program was:" >&5
4035 cat conftest.$ac_ext >&5
4036 # Broken: fails on valid input.
4039 rm -f conftest.err conftest.$ac_ext
4041 # OK, works on sane cases. Now check whether non-existent headers
4042 # can be detected and how.
4043 cat >conftest.$ac_ext <<_ACEOF
4044 #line $LINENO "configure"
4045 #include "confdefs.h"
4046 #include <ac_nonexistent.h>
4048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051 egrep -v '^ *\+' conftest.er1 >conftest.err
4053 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } >/dev/null; then
4056 if test -s conftest.err; then
4057 ac_cpp_err=$ac_c_preproc_warn_flag
4064 if test -z "$ac_cpp_err"; then
4065 # Broken: success on invalid input.
4068 echo "$as_me: failed program was:" >&5
4069 cat conftest.$ac_ext >&5
4070 # Passes both tests.
4074 rm -f conftest.err conftest.$ac_ext
4077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4078 rm -f conftest.err conftest.$ac_ext
4079 if $ac_preproc_ok; then
4082 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
4083 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4084 { (exit 1); exit 1; }; }
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4093 # Extract the first word of "rm", so it can be a program name with args.
4094 set dummy rm; ac_word=$2
4095 echo "$as_me:$LINENO: checking for $ac_word" >&5
4096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4097 if test "${ac_cv_path_RM+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4125 if test -n "$RM"; then
4126 echo "$as_me:$LINENO: result: $RM" >&5
4127 echo "${ECHO_T}$RM" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 # Extract the first word of "mv", so it can be a program name with args.
4134 set dummy mv; ac_word=$2
4135 echo "$as_me:$LINENO: checking for $ac_word" >&5
4136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4137 if test "${ac_cv_path_MV+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4152 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4165 if test -n "$MV"; then
4166 echo "$as_me:$LINENO: result: $MV" >&5
4167 echo "${ECHO_T}$MV" >&6
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4173 # Extract the first word of "tar", so it can be a program name with args.
4174 set dummy tar; ac_word=$2
4175 echo "$as_me:$LINENO: checking for $ac_word" >&5
4176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4177 if test "${ac_cv_path_TAR+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4205 if test -n "$TAR"; then
4206 echo "$as_me:$LINENO: result: $TAR" >&5
4207 echo "${ECHO_T}$TAR" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4216 if test -z "$PKG_CONFIG"; then
4217 # Extract the first word of "pkg-config", so it can be a program name with args.
4218 set dummy pkg-config; ac_word=$2
4219 echo "$as_me:$LINENO: checking for $ac_word" >&5
4220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir=.
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4236 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
4247 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4249 if test -n "$PKG_CONFIG"; then
4250 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4251 echo "${ECHO_T}$PKG_CONFIG" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4259 if test "$PKG_CONFIG" = "no" ; then
4260 echo "*** The pkg-config script could not be found. Make sure it is"
4261 echo "*** in your path, or set the PKG_CONFIG environment variable"
4262 echo "*** to the full path to pkg-config."
4263 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4265 PKG_CONFIG_MIN_VERSION=0.9.0
4266 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4267 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
4268 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
4270 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4275 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
4276 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
4277 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
4278 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
4279 echo "${ECHO_T}$GLIB_CFLAGS" >&6
4281 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
4282 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
4283 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
4284 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
4285 echo "${ECHO_T}$GLIB_LIBS" >&6
4289 ## If we have a custom action on failure, don't print errors, but
4290 ## do set a variable so people can do so.
4291 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
4292 echo $GLIB_PKG_ERRORS
4298 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4299 echo "*** See http://www.freedesktop.org/software/pkgconfig"
4303 if test $succeeded = yes; then
4306 { { echo "$as_me:$LINENO: 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
4307 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;}
4308 { (exit 1); exit 1; }; }
4321 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
4322 cat >confcache <<\_ACEOF
4323 # This file is a shell script that caches the results of configure
4324 # tests run on this system so they can be shared between configure
4325 # scripts and configure runs, see configure's option --config-cache.
4326 # It is not useful on other systems. If it contains results you don't
4327 # want to keep, you may remove or edit it.
4329 # config.status only pays attention to the cache file if you give it
4330 # the --recheck option to rerun configure.
4332 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4338 # The following way of writing the cache mishandles newlines in values,
4339 # but we know of no workaround that is simple, portable, and efficient.
4340 # So, don't put newlines in cache variables' values.
4341 # Ultrix sh set writes to stderr and can't be redirected directly,
4342 # and sets the high bit in the cache file unless we assign to the vars.
4345 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4347 # `set' does not quote correctly, so add quotes (double-quote
4348 # substitution turns \\\\ into \\, and sed turns \\ into \).
4351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4354 # `set' quotes correctly as required by POSIX, so do not add quotes.
4356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4365 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4367 if cmp -s $cache_file confcache; then :; else
4368 if test -w $cache_file; then
4369 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4370 cat confcache >$cache_file
4372 echo "not updating unwritable cache $cache_file"
4377 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4378 # Let make expand exec_prefix.
4379 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4381 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4382 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4383 # trailing colons and then remove the whole line if VPATH becomes empty
4384 # (actually we leave an empty line to preserve line numbers).
4385 if test "x$srcdir" = x.; then
4386 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4387 s/:*\$(srcdir):*/:/;
4388 s/:*\${srcdir}:*/:/;
4390 s/^\([^=]*=[ ]*\):*/\1/;
4396 DEFS=-DHAVE_CONFIG_H
4398 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4399 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4400 Usually this means the macro was only invoked conditionally." >&5
4401 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4402 Usually this means the macro was only invoked conditionally." >&2;}
4403 { (exit 1); exit 1; }; }
4405 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4406 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4407 Usually this means the macro was only invoked conditionally." >&5
4408 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4409 Usually this means the macro was only invoked conditionally." >&2;}
4410 { (exit 1); exit 1; }; }
4413 : ${CONFIG_STATUS=./config.status}
4414 ac_clean_files_save=$ac_clean_files
4415 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4416 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4417 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4418 cat >$CONFIG_STATUS <<_ACEOF
4420 # Generated by $as_me.
4421 # Run this file to recreate the current configuration.
4422 # Compiler output produced by configure, useful for debugging
4423 # configure, is in config.log if it exists.
4426 SHELL=\${CONFIG_SHELL-$SHELL}
4429 cat >>$CONFIG_STATUS <<\_ACEOF
4431 ## --------------------- ##
4432 ## M4sh Initialization. ##
4433 ## --------------------- ##
4435 # Be Bourne compatible
4436 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4439 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4444 # Support unset when possible.
4445 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4451 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4452 { $as_unset LANG || test "${LANG+set}" != set; } ||
4453 { LANG=C; export LANG; }
4454 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4455 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4456 { LC_ALL=C; export LC_ALL; }
4457 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4458 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4459 { LC_TIME=C; export LC_TIME; }
4460 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4461 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4462 { LC_CTYPE=C; export LC_CTYPE; }
4463 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4464 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4465 { LANGUAGE=C; export LANGUAGE; }
4466 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4467 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4468 { LC_COLLATE=C; export LC_COLLATE; }
4469 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4470 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4471 { LC_NUMERIC=C; export LC_NUMERIC; }
4472 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4473 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4474 { LC_MESSAGES=C; export LC_MESSAGES; }
4477 # Name of the executable.
4478 as_me=`(basename "$0") 2>/dev/null ||
4479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4480 X"$0" : 'X\(//\)$' \| \
4481 X"$0" : 'X\(/\)$' \| \
4482 . : '\(.\)' 2>/dev/null ||
4484 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4485 /^X\/\(\/\/\)$/{ s//\1/; q; }
4486 /^X\/\(\/\).*/{ s//\1/; q; }
4489 # PATH needs CR, and LINENO needs CR and PATH.
4490 # Avoid depending upon Character Ranges.
4491 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4492 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4493 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4494 as_cr_digits='0123456789'
4495 as_cr_alnum=$as_cr_Letters$as_cr_digits
4497 # The user is always right.
4498 if test "${PATH_SEPARATOR+set}" != set; then
4499 echo "#! /bin/sh" >conftest.sh
4500 echo "exit 0" >>conftest.sh
4501 chmod +x conftest.sh
4502 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4513 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4514 test "x$as_lineno_1" != "x$as_lineno_2" &&
4515 test "x$as_lineno_3" = "x$as_lineno_2" || {
4516 # Find who we are. Look in the path if we contain no path at all
4519 *[\\/]* ) as_myself=$0 ;;
4520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4530 # We did not find ourselves, most probably we were run as `sh COMMAND'
4531 # in which case we are not to be found in the path.
4532 if test "x$as_myself" = x; then
4535 if test ! -f "$as_myself"; then
4536 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4537 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4538 { (exit 1); exit 1; }; }
4540 case $CONFIG_SHELL in
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4546 test -z "$as_dir" && as_dir=.
4547 for as_base in sh bash ksh sh5; do
4550 if ("$as_dir/$as_base" -c '
4553 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4554 test "x$as_lineno_1" != "x$as_lineno_2" &&
4555 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4556 CONFIG_SHELL=$as_dir/$as_base
4558 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4566 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4567 # uniformly replaced by the line number. The first 'sed' inserts a
4568 # line-number line before each line; the second 'sed' does the real
4569 # work. The second script uses 'N' to pair each line-number line
4570 # with the numbered line, and appends trailing '-' during
4571 # substitution so that $LINENO is not a special case at line end.
4572 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4573 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4574 sed '=' <$as_myself |
4579 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4582 s,^['$as_cr_digits']*\n,,
4584 chmod +x $as_me.lineno ||
4585 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4586 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4587 { (exit 1); exit 1; }; }
4589 # Don't try to exec as it changes $[0], causing all sort of problems
4590 # (the dirname of $[0] is not the place where we might find the
4591 # original and so on. Autoconf is especially sensible to this).
4593 # Exit status is that of the last command.
4598 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4599 *c*,-n*) ECHO_N= ECHO_C='
4601 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4602 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4605 if expr a : '\(a\)' >/dev/null 2>&1; then
4611 rm -f conf$$ conf$$.exe conf$$.file
4613 if ln -s conf$$.file conf$$ 2>/dev/null; then
4614 # We could just check for DJGPP; but this test a) works b) is more generic
4615 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4616 if test -f conf$$.exe; then
4617 # Don't use ln at all; we don't have any links
4622 elif ln conf$$.file conf$$ 2>/dev/null; then
4627 rm -f conf$$ conf$$.exe conf$$.file
4629 as_executable_p="test -f"
4631 # Sed expression to map a string onto a valid CPP name.
4632 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4634 # Sed expression to map a string onto a valid variable name.
4635 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4639 # We need space, tab and new line, in precisely that order.
4645 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4649 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4650 # report actual input values of CONFIG_FILES etc. instead of their
4651 # values after options handling. Logging --version etc. is OK.
4655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4656 ## Running $as_me. ##
4661 This file was extended by $as_me, which was
4662 generated by GNU Autoconf 2.53. Invocation command line was
4664 CONFIG_FILES = $CONFIG_FILES
4665 CONFIG_HEADERS = $CONFIG_HEADERS
4666 CONFIG_LINKS = $CONFIG_LINKS
4667 CONFIG_COMMANDS = $CONFIG_COMMANDS
4671 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4675 # Files that config.status was made for.
4676 if test -n "$ac_config_files"; then
4677 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4680 if test -n "$ac_config_headers"; then
4681 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4684 if test -n "$ac_config_links"; then
4685 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4688 if test -n "$ac_config_commands"; then
4689 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4692 cat >>$CONFIG_STATUS <<\_ACEOF
4695 \`$as_me' instantiates files from templates according to the
4696 current configuration.
4698 Usage: $0 [OPTIONS] [FILE]...
4700 -h, --help print this help, then exit
4701 -V, --version print version number, then exit
4702 -d, --debug don't remove temporary files
4703 --recheck update $as_me by reconfiguring in the same conditions
4704 --file=FILE[:TEMPLATE]
4705 instantiate the configuration file FILE
4706 --header=FILE[:TEMPLATE]
4707 instantiate the configuration header FILE
4709 Configuration files:
4712 Configuration headers:
4715 Configuration commands:
4718 Report bugs to <bug-autoconf@gnu.org>."
4721 cat >>$CONFIG_STATUS <<_ACEOF
4724 configured by $0, generated by GNU Autoconf 2.53,
4725 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4727 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4728 Free Software Foundation, Inc.
4729 This config.status script is free software; the Free Software Foundation
4730 gives unlimited permission to copy, distribute and modify it."
4735 cat >>$CONFIG_STATUS <<\_ACEOF
4736 # If no file are specified by the user, then we need to provide default
4737 # value. By we need to know if files were specified by the user.
4743 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4744 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4746 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4750 *) # This is not an option, so the user has probably given explicit
4752 ac_need_defaults=false;;
4756 # Handling of the options.
4758 cat >>$CONFIG_STATUS <<_ACEOF
4759 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4760 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4761 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4763 cat >>$CONFIG_STATUS <<\_ACEOF
4764 --version | --vers* | -V )
4765 echo "$ac_cs_version"; exit 0 ;;
4767 # Conflict between --help and --header
4768 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4769 Try \`$0 --help' for more information." >&5
4770 echo "$as_me: error: ambiguous option: $1
4771 Try \`$0 --help' for more information." >&2;}
4772 { (exit 1); exit 1; }; };;
4773 --help | --hel | -h )
4774 echo "$ac_cs_usage"; exit 0 ;;
4775 --debug | --d* | -d )
4777 --file | --fil | --fi | --f )
4779 CONFIG_FILES="$CONFIG_FILES $1"
4780 ac_need_defaults=false;;
4781 --header | --heade | --head | --hea )
4783 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4784 ac_need_defaults=false;;
4787 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4788 Try \`$0 --help' for more information." >&5
4789 echo "$as_me: error: unrecognized option: $1
4790 Try \`$0 --help' for more information." >&2;}
4791 { (exit 1); exit 1; }; } ;;
4793 *) ac_config_targets="$ac_config_targets $1" ;;
4801 cat >>$CONFIG_STATUS <<_ACEOF
4803 # INIT-COMMANDS section.
4806 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4812 cat >>$CONFIG_STATUS <<\_ACEOF
4813 for ac_config_target in $ac_config_targets
4815 case "$ac_config_target" in
4816 # Handling of arguments.
4817 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
4818 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4819 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4820 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4821 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
4822 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
4823 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4824 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4825 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4826 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4827 { (exit 1); exit 1; }; };;
4831 # If the user did not use the arguments to specify the items to instantiate,
4832 # then the envvar interface is used. Set only those that are not.
4833 # We use the long form for the default assignment because of an extremely
4834 # bizarre bug on SunOS 4.1.3.
4835 if $ac_need_defaults; then
4836 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4837 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4838 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4841 # Create a temporary directory, and hook for its removal unless debugging.
4844 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4845 trap '{ (exit 1); exit 1; }' 1 2 13 15
4848 # Create a (secure) tmp directory for tmp files.
4851 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4852 test -n "$tmp" && test -d "$tmp"
4855 tmp=$TMPDIR/cs$$-$RANDOM
4856 (umask 077 && mkdir $tmp)
4859 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4860 { (exit 1); exit 1; }
4865 cat >>$CONFIG_STATUS <<_ACEOF
4868 # CONFIG_FILES section.
4871 # No need to generate the scripts if there are no CONFIG_FILES.
4872 # This happens for instance when ./config.status config.h
4873 if test -n "\$CONFIG_FILES"; then
4874 # Protect against being on the right side of a sed subst in config.status.
4875 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4876 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4877 s,@SHELL@,$SHELL,;t t
4878 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4879 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4880 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4881 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4882 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4883 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4884 s,@exec_prefix@,$exec_prefix,;t t
4885 s,@prefix@,$prefix,;t t
4886 s,@program_transform_name@,$program_transform_name,;t t
4887 s,@bindir@,$bindir,;t t
4888 s,@sbindir@,$sbindir,;t t
4889 s,@libexecdir@,$libexecdir,;t t
4890 s,@datadir@,$datadir,;t t
4891 s,@sysconfdir@,$sysconfdir,;t t
4892 s,@sharedstatedir@,$sharedstatedir,;t t
4893 s,@localstatedir@,$localstatedir,;t t
4894 s,@libdir@,$libdir,;t t
4895 s,@includedir@,$includedir,;t t
4896 s,@oldincludedir@,$oldincludedir,;t t
4897 s,@infodir@,$infodir,;t t
4898 s,@mandir@,$mandir,;t t
4899 s,@build_alias@,$build_alias,;t t
4900 s,@host_alias@,$host_alias,;t t
4901 s,@target_alias@,$target_alias,;t t
4903 s,@ECHO_C@,$ECHO_C,;t t
4904 s,@ECHO_N@,$ECHO_N,;t t
4905 s,@ECHO_T@,$ECHO_T,;t t
4907 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4908 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4909 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4910 s,@PACKAGE@,$PACKAGE,;t t
4911 s,@VERSION@,$VERSION,;t t
4912 s,@ACLOCAL@,$ACLOCAL,;t t
4913 s,@AUTOCONF@,$AUTOCONF,;t t
4914 s,@AUTOMAKE@,$AUTOMAKE,;t t
4915 s,@AUTOHEADER@,$AUTOHEADER,;t t
4916 s,@MAKEINFO@,$MAKEINFO,;t t
4917 s,@AMTAR@,$AMTAR,;t t
4918 s,@install_sh@,$install_sh,;t t
4919 s,@STRIP@,$STRIP,;t t
4920 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4921 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4923 s,@SET_MAKE@,$SET_MAKE,;t t
4924 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4925 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4926 s,@MAINT@,$MAINT,;t t
4927 s,@SUBDIRS@,$SUBDIRS,;t t
4928 s,@DOINSTGOB@,$DOINSTGOB,;t t
4929 s,@NOINSTGOB@,$NOINSTGOB,;t t
4931 s,@CFLAGS@,$CFLAGS,;t t
4932 s,@LDFLAGS@,$LDFLAGS,;t t
4933 s,@CPPFLAGS@,$CPPFLAGS,;t t
4934 s,@ac_ct_CC@,$ac_ct_CC,;t t
4935 s,@EXEEXT@,$EXEEXT,;t t
4936 s,@OBJEXT@,$OBJEXT,;t t
4937 s,@DEPDIR@,$DEPDIR,;t t
4938 s,@am__include@,$am__include,;t t
4939 s,@am__quote@,$am__quote,;t t
4940 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4941 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4942 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4943 s,@CCDEPMODE@,$CCDEPMODE,;t t
4947 s,@LEXLIB@,$LEXLIB,;t t
4948 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4952 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4953 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
4954 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
4955 s,@YFLAGS@,$YFLAGS,;t t
4960 cat >>$CONFIG_STATUS <<\_ACEOF
4961 # Split the substitutions into bite-sized pieces for seds with
4962 # small command number limits, like on Digital OSF/1 and HP-UX.
4964 ac_sed_frag=1 # Number of current file.
4965 ac_beg=1 # First line for current file.
4966 ac_end=$ac_max_sed_lines # Line after last line for current file.
4969 while $ac_more_lines; do
4970 if test $ac_beg -gt 1; then
4971 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4973 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4975 if test ! -s $tmp/subs.frag; then
4978 # The purpose of the label and of the branching condition is to
4979 # speed up the sed processing (if there are no `@' at all, there
4980 # is no need to browse any of the substitutions).
4981 # These are the two extra sed commands mentioned above.
4983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4984 if test -z "$ac_sed_cmds"; then
4985 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4987 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4989 ac_sed_frag=`expr $ac_sed_frag + 1`
4991 ac_end=`expr $ac_end + $ac_max_sed_lines`
4994 if test -z "$ac_sed_cmds"; then
4997 fi # test -n "$CONFIG_FILES"
5000 cat >>$CONFIG_STATUS <<\_ACEOF
5001 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5004 - | *:- | *:-:* ) # input from stdin
5006 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5007 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5010 * ) ac_file_in=$ac_file.in ;;
5013 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5014 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5016 X"$ac_file" : 'X\(//\)[^/]' \| \
5017 X"$ac_file" : 'X\(//\)$' \| \
5018 X"$ac_file" : 'X\(/\)' \| \
5019 . : '\(.\)' 2>/dev/null ||
5021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5023 /^X\(\/\/\)$/{ s//\1/; q; }
5024 /^X\(\/\).*/{ s//\1/; q; }
5027 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5031 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5032 case $as_mkdir_dir in
5033 # Skip DOS drivespec
5034 ?:) as_incr_dir=$as_mkdir_dir ;;
5036 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5037 test -d "$as_incr_dir" ||
5038 mkdir "$as_incr_dir" ||
5039 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5040 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5041 { (exit 1); exit 1; }; }
5048 if test "$ac_dir" != .; then
5049 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5050 # A "../" for each directory in $ac_dir_suffix.
5051 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5053 ac_dir_suffix= ac_top_builddir=
5057 .) # No --srcdir option. We are building in place.
5059 if test -z "$ac_top_builddir"; then
5062 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5064 [\\/]* | ?:[\\/]* ) # Absolute path.
5065 ac_srcdir=$srcdir$ac_dir_suffix;
5066 ac_top_srcdir=$srcdir ;;
5068 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5069 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5071 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5073 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5074 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5075 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5076 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5080 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5081 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5084 if test x"$ac_file" != x-; then
5085 { echo "$as_me:$LINENO: creating $ac_file" >&5
5086 echo "$as_me: creating $ac_file" >&6;}
5089 # Let's still pretend it is `configure' which instantiates (i.e., don't
5090 # use $as_me), people would be surprised to read:
5091 # /* config.h. Generated by config.status. */
5092 if test x"$ac_file" = x-; then
5095 configure_input="$ac_file. "
5097 configure_input=$configure_input"Generated from `echo $ac_file_in |
5098 sed 's,.*/,,'` by configure."
5100 # First look for the input files in the build tree, otherwise in the
5102 ac_file_inputs=`IFS=:
5103 for f in $ac_file_in; do
5105 -) echo $tmp/stdin ;;
5107 # Absolute (can't be DOS-style, as IFS=:)
5108 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5109 echo "$as_me: error: cannot find input file: $f" >&2;}
5110 { (exit 1); exit 1; }; }
5113 if test -f "$f"; then
5116 elif test -f "$srcdir/$f"; then
5121 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5122 echo "$as_me: error: cannot find input file: $f" >&2;}
5123 { (exit 1); exit 1; }; }
5126 done` || { (exit 1); exit 1; }
5128 cat >>$CONFIG_STATUS <<_ACEOF
5132 cat >>$CONFIG_STATUS <<\_ACEOF
5134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5135 s,@configure_input@,$configure_input,;t t
5136 s,@srcdir@,$ac_srcdir,;t t
5137 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5138 s,@top_srcdir@,$ac_top_srcdir,;t t
5139 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5140 s,@builddir@,$ac_builddir,;t t
5141 s,@abs_builddir@,$ac_abs_builddir,;t t
5142 s,@top_builddir@,$ac_top_builddir,;t t
5143 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5144 s,@INSTALL@,$ac_INSTALL,;t t
5145 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5147 if test x"$ac_file" != x-; then
5148 mv $tmp/out $ac_file
5156 cat >>$CONFIG_STATUS <<\_ACEOF
5159 # CONFIG_HEADER section.
5162 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5163 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5165 # ac_d sets the value in "#define NAME VALUE" lines.
5166 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5167 ac_dB='[ ].*$,\1#\2'
5170 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5171 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5172 ac_uB='$,\1#\2define\3'
5176 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5177 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5179 - | *:- | *:-:* ) # input from stdin
5181 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5182 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5183 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5184 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5185 * ) ac_file_in=$ac_file.in ;;
5188 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5189 echo "$as_me: creating $ac_file" >&6;}
5191 # First look for the input files in the build tree, otherwise in the
5193 ac_file_inputs=`IFS=:
5194 for f in $ac_file_in; do
5196 -) echo $tmp/stdin ;;
5198 # Absolute (can't be DOS-style, as IFS=:)
5199 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5200 echo "$as_me: error: cannot find input file: $f" >&2;}
5201 { (exit 1); exit 1; }; }
5204 if test -f "$f"; then
5207 elif test -f "$srcdir/$f"; then
5212 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5213 echo "$as_me: error: cannot find input file: $f" >&2;}
5214 { (exit 1); exit 1; }; }
5217 done` || { (exit 1); exit 1; }
5218 # Remove the trailing spaces.
5219 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5223 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5224 # `conftest.undefs', that substitutes the proper values into
5225 # config.h.in to produce config.h. The first handles `#define'
5226 # templates, and the second `#undef' templates.
5227 # And first: Protect against being on the right side of a sed subst in
5228 # config.status. Protect against being in an unquoted here document
5230 rm -f conftest.defines conftest.undefs
5231 # Using a here document instead of a string reduces the quoting nightmare.
5232 # Putting comments in sed scripts is not portable.
5234 # `end' is used to avoid that the second main sed command (meant for
5235 # 0-ary CPP macros) applies to n-ary macro definitions.
5236 # See the Autoconf documentation for `clear'.
5237 cat >confdef2sed.sed <<\_ACEOF
5242 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5244 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5247 # If some macros were called several times there might be several times
5248 # the same #defines, which is useless. Nevertheless, we may not want to
5249 # sort them, since we want the *last* AC-DEFINE to be honored.
5250 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5251 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5252 rm -f confdef2sed.sed
5254 # This sed command replaces #undef with comments. This is necessary, for
5255 # example, in the case of _POSIX_SOURCE, which is predefined and required
5256 # on some systems where configure will not decide to define it.
5257 cat >>conftest.undefs <<\_ACEOF
5258 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5261 # Break up conftest.defines because some shells have a limit on the size
5262 # of here documents, and old seds have small limits too (100 cmds).
5263 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5264 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5265 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5266 echo ' :' >>$CONFIG_STATUS
5268 while grep . conftest.defines >/dev/null
5270 # Write a limited-size here document to $tmp/defines.sed.
5271 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5272 # Speed up: don't consider the non `#define' lines.
5273 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5274 # Work around the forget-to-reset-the-flag bug.
5275 echo 't clr' >>$CONFIG_STATUS
5276 echo ': clr' >>$CONFIG_STATUS
5277 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5279 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5283 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5284 rm -f conftest.defines
5285 mv conftest.tail conftest.defines
5287 rm -f conftest.defines
5288 echo ' fi # egrep' >>$CONFIG_STATUS
5289 echo >>$CONFIG_STATUS
5291 # Break up conftest.undefs because some shells have a limit on the size
5292 # of here documents, and old seds have small limits too (100 cmds).
5293 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5295 while grep . conftest.undefs >/dev/null
5297 # Write a limited-size here document to $tmp/undefs.sed.
5298 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5299 # Speed up: don't consider the non `#undef'
5300 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5301 # Work around the forget-to-reset-the-flag bug.
5302 echo 't clr' >>$CONFIG_STATUS
5303 echo ': clr' >>$CONFIG_STATUS
5304 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5306 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5310 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5311 rm -f conftest.undefs
5312 mv conftest.tail conftest.undefs
5314 rm -f conftest.undefs
5316 cat >>$CONFIG_STATUS <<\_ACEOF
5317 # Let's still pretend it is `configure' which instantiates (i.e., don't
5318 # use $as_me), people would be surprised to read:
5319 # /* config.h. Generated by config.status. */
5320 if test x"$ac_file" = x-; then
5321 echo "/* Generated by configure. */" >$tmp/config.h
5323 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5325 cat $tmp/in >>$tmp/config.h
5327 if test x"$ac_file" != x-; then
5328 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5329 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5330 echo "$as_me: $ac_file is unchanged" >&6;}
5332 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5333 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5334 X"$ac_file" : 'X\(//\)[^/]' \| \
5335 X"$ac_file" : 'X\(//\)$' \| \
5336 X"$ac_file" : 'X\(/\)' \| \
5337 . : '\(.\)' 2>/dev/null ||
5339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5341 /^X\(\/\/\)$/{ s//\1/; q; }
5342 /^X\(\/\).*/{ s//\1/; q; }
5345 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5349 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5350 case $as_mkdir_dir in
5351 # Skip DOS drivespec
5352 ?:) as_incr_dir=$as_mkdir_dir ;;
5354 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5355 test -d "$as_incr_dir" ||
5356 mkdir "$as_incr_dir" ||
5357 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5358 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5359 { (exit 1); exit 1; }; }
5365 mv $tmp/config.h $ac_file
5371 # Run the commands associated with the file.
5373 config.h ) # update the timestamp
5374 echo 'timestamp for config.h' >"./stamp-h1"
5379 cat >>$CONFIG_STATUS <<\_ACEOF
5382 # CONFIG_COMMANDS section.
5384 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5385 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5386 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5387 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5388 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5389 X"$ac_dest" : 'X\(//\)[^/]' \| \
5390 X"$ac_dest" : 'X\(//\)$' \| \
5391 X"$ac_dest" : 'X\(/\)' \| \
5392 . : '\(.\)' 2>/dev/null ||
5394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5396 /^X\(\/\/\)$/{ s//\1/; q; }
5397 /^X\(\/\).*/{ s//\1/; q; }
5401 if test "$ac_dir" != .; then
5402 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5403 # A "../" for each directory in $ac_dir_suffix.
5404 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5406 ac_dir_suffix= ac_top_builddir=
5410 .) # No --srcdir option. We are building in place.
5412 if test -z "$ac_top_builddir"; then
5415 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5417 [\\/]* | ?:[\\/]* ) # Absolute path.
5418 ac_srcdir=$srcdir$ac_dir_suffix;
5419 ac_top_srcdir=$srcdir ;;
5421 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5422 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5424 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5426 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5427 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5428 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5429 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5432 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5433 echo "$as_me: executing $ac_dest commands" >&6;}
5435 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5436 # Strip MF so we end up with the name of the file.
5437 mf=`echo "$mf" | sed -e 's/:.*$//'`
5438 # Check whether this is an Automake generated Makefile or not.
5439 # We used to match only the files named `Makefile.in', but
5440 # some people rename them; so instead we look at the file content.
5441 # Grep'ing the first line is not enough: some people post-process
5442 # each Makefile.in and add a new line on top of each file to say so.
5443 # So let's grep whole file.
5444 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5445 dirpart=`(dirname "$mf") 2>/dev/null ||
5446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5447 X"$mf" : 'X\(//\)[^/]' \| \
5448 X"$mf" : 'X\(//\)$' \| \
5449 X"$mf" : 'X\(/\)' \| \
5450 . : '\(.\)' 2>/dev/null ||
5452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5454 /^X\(\/\/\)$/{ s//\1/; q; }
5455 /^X\(\/\).*/{ s//\1/; q; }
5460 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5461 # Extract the definition of DEP_FILES from the Makefile without
5463 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5464 test -z "$DEPDIR" && continue
5465 # When using ansi2knr, U may be empty or an underscore; expand it
5466 U=`sed -n -e '/^U = / s///p' < "$mf"`
5467 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5468 # We invoke sed twice because it is the simplest approach to
5469 # changing $(DEPDIR) to its actual value in the expansion.
5470 for file in `sed -n -e '
5471 /^DEP_FILES = .*\\\\$/ {
5480 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5481 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5482 # Make sure the directory exists.
5483 test -f "$dirpart/$file" && continue
5484 fdir=`(dirname "$file") 2>/dev/null ||
5485 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5486 X"$file" : 'X\(//\)[^/]' \| \
5487 X"$file" : 'X\(//\)$' \| \
5488 X"$file" : 'X\(/\)' \| \
5489 . : '\(.\)' 2>/dev/null ||
5491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5492 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5493 /^X\(\/\/\)$/{ s//\1/; q; }
5494 /^X\(\/\).*/{ s//\1/; q; }
5496 { case $dirpart/$fdir in
5497 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5500 as_dummy=$dirpart/$fdir
5501 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5502 case $as_mkdir_dir in
5503 # Skip DOS drivespec
5504 ?:) as_incr_dir=$as_mkdir_dir ;;
5506 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5507 test -d "$as_incr_dir" ||
5508 mkdir "$as_incr_dir" ||
5509 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
5510 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
5511 { (exit 1); exit 1; }; }
5516 # echo "creating $dirpart/$file"
5517 echo '# dummy' > "$dirpart/$file"
5525 cat >>$CONFIG_STATUS <<\_ACEOF
5527 { (exit 0); exit 0; }
5529 chmod +x $CONFIG_STATUS
5530 ac_clean_files=$ac_clean_files_save
5533 # configure is writing to config.log, and then calls config.status.
5534 # config.status does its own redirection, appending to config.log.
5535 # Unfortunately, on DOS this fails, as config.log is still kept open
5536 # by configure, so config.status won't be able to write to it; its
5537 # output is simply discarded. So we exec the FD to /dev/null,
5538 # effectively closing config.log, so it can be properly (re)opened and
5539 # appended to by config.status. When coming back to configure, we
5540 # need to make the FD available again.
5541 if test "$no_create" != yes; then
5544 $SHELL $CONFIG_STATUS || ac_cs_success=false
5546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5547 # would make configure fail if this is the last instruction.
5548 $ac_cs_success || { (exit 1); exit 1; }